Re: [PATCH]: uClinux (MMU-less) patches against 2.5.28

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Jul 26 2002 - 10:45:09 EST


gerg@snapgear.com said:
> The MAGIC_ROM_PTR support in the uClinux patch adds a field to the
> block_device_operations and file_operations structures that allows
> getting at the physical address in flash.

Sick. Just provide your own mmap() instead.

> Disabling processes that are known to be running direct from flash
> sounds workable. (There is no real notion of separating pages under
> uClinux - it is an all or nothing mapping. The text, data, bss, etc
> are always a single contiguous region in the address space).

Yep. For uClinux we could probably get away with that. I don't want to
suggest it for normal Linux though.

> More generous lock that really required for general VM linux, but at
> least the whole process model works for both VM and non-VM linux. I
> would expect this avoids any potential loop/deadlock with pages (going
> on the discussion in follow up emails anyway).

I don't see that many cases where these pages would get locked; I'm not
convinced it's a problem. But I'm aware of the percentages from the
previous times I've argued with Alan :)

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:24 EST