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

David Woodhouse
2002-07-26T15:41:56Z

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