<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body>
<div id="contentDescription" style="line-height:1.5;text-align:justify;text-justify:inter-ideograph">
<div>Hi:</div><div> I recently read the book "understanding the linux kernel 3rd", in the task switch process, there are two esp in thread_struct. In macro 'switch_to' , The esp is loaded to switch to the next's kernel stack, but in '__switch_to', esp0 is copied to tss's esp0 field, what the esp0 mean? What the difference between them?</div><div> Looking forward to your reply!</div>
</div>
</body></html>