Blaisorblade wrote:
On Thursday 16 June 2005 20:31, Bodo Stroesser wrote:
Blaisorblade wrote:
arch_switch already exists (wasn't used for SKAS). About improving it and
making it more "general-purpose" (I've written this for the TLS code
needs), could you have a look to the attached patches? do_fork-* is
another thing (a cleanup discussed some time ago with Jeff) but may be
needed to apply the second.
Wouldn't it be better to have separate arch_switch_tt and arch_switch_skas?
I think, arch_switch has to do different things for tt and skas (and maybe
even for skas0 and skas3)
Let's not go creating too many layers. switch_to_* calls arch_switch, then it
can use CHOOSE_MODE if it needs (see the TLS patch I'm working on, it's in
the -devel tarball here:
Then swtich_to_tt should call arch_switch_tt and switch_to_skas should call
arch_switch_skas. This avoids a CHOOSE_MODE and a function call.
And also it makes tt a bit more removable, if Jeff decides to.
Bodo
http://www.user-mode-linux.org/~blaisorblade/patches/devel-guest/
(pick the latest)
).
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel