lkml.org 
[lkml]   [2007]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag
On Sat, 7 Apr 2007, Andrew Morton wrote:

> andl $48, %eax #, tmp399
> cmpl $48, %eax #, tmp399
> je .L265 #,
>
> what's "yuck" about that?


>
> With the single page flag:
>
> movl (%ebx), %eax #* page.521, D.21940
> testb $32, %al #, D.21940
> jne .L265 #,
>
> So you're talking about saving one sole single silly solitary instruction.

We are also using another register. The bit instructions can just go in an
test. Ok. Will submit this patch. .... Maybe I can special case 64 bit.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-09 19:25    [W:0.107 / U:2.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site