Re: switching from user stack to kernel stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
Is it?
i'm thinking that this is done by software in linux
beacuse as linux not used the TSS switch when context
switch,and anyway that is not relevent here in
syscalls made where the process entering into kernel
mode.

but i beleive that the kernel stack switch may be done
in software mightbe i would be wrong.
prasanna

Yes, Linux uses software task switching. But There is a per cpu tss. see, macro switch_to in include/asm-i386/system.h

and also __switch_to in i386/kernel/process.h

regards manish

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux