[lkml]   [2001]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /proc/<n>/maps getting _VERY_ long

> > There are garbage collectors that use mprotect() and SEGV trapping per
> > page. It would be nice if there was a way to change the protections per
> > page without requiring a VMA for each one.
> This is actually how Linux used to work a long long time ago - all
> protection information was in the page tables, and you could do per-page
> things without having to worry about piddling details like vma's.
> It does work, but it had major downsides. Trivial things like re-creating
> the permission after throwing a page out or swapping it out.

For some uses, spurious SEGV after swap-in might be okay ;-). Garbage
collector might be that example. Pavel
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.024 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site