[lkml]   [2006]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [rfc patch] i386: don't save eflags on task switch

> For me, when compiled with -O2, it results in
> 84
> 88
> 132
> which basically says: a "rdtsc->rdtsc" is 84 cycles, putting a "pushfl" in
> between is another _4_ cycles, and putting a "popfl" in between is about
> another 48 cycles.

This means we should definitely change restore_flags() to only STI,
never popf

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-05 06:45    [W:0.098 / U:1.084 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site