[lkml]   [2003]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] report user-readable fixmap area in /proc/PID/maps
Linus Torvalds <> wrote:
> If you really want /proc/PID/maps to look right, add a new vm_area_struct,
> see if you can allocate it as part of the "struct mm_struct" so that we
> don't get yet another (unnecessary) allocation on fork time.

It could be done "on demand". So get_user_pages() and the /proc code will
call the new add_fixmap_vma() on entry. Hence the additional overhead is
only incurred when /proc/pid/maps is accessed, or get_user_pages() is

It'll need a new flag in mm_struct. mm_struct.swap_address can be
salvaged: it is no longer used.

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 13:49    [W:0.072 / U:2.764 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site