[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Are we going to use "emergency stack" for SYSENTER?
hi,
I just found the code in 2.6.17 under function enable_sep_cpu, which
is going to setup the esp1 as "tss->esp1 = sizeof(struct tss_struct) +
(unsigned long) tss;", which will be used as a privilege stack when
calling sysenter.
I noticed that there is unsigned long stack[64] at the bottom of
struct tss_struct, which works as an emergency stack. Are we just
going to use that once as the kernel stack for sysenter? If yes, will
that be a problem since the stack is only 256 bytes?
Thanks,
Neo
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ