lkml.org 
[lkml]   [2002]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] linux-2.5.43_vsyscall_A0
Date
From
andrea@suse.de said:
> the sysctl would replace the vsyscall fixmap fixmap entry for the
> current cpu enterely at switch_to time, I certainly don't want to add
> not necessary branches in the core vsyscall code. Doing it globally
> is zerocost but it would probably need privilegies as said, per-task
> could be more dynamic without privilegies and it would be an unlikely
> branch added in switch_to, still a very low cost so still acceptable.

If I'm understanding this (and reading the code) correctly, this would
allow UML to specify that, for a given process, it should have a page of
its choosing mapped into the vsyscall area. Correct?

If so, I can go along with this. It makes vsyscalls virtualizable, and thus
available to UML, which needs them more than the other arches :-)

The one suggestion I'd make is to make it per-mm rather than per-task and
put it in switch_mm rather than switch_to.

Jeff

-
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/

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