locore.s includes:
#define ALLOCPAGES(foo) \ 
        movl    R(physfree), %esi ; \
        movl    $((foo)*PAGE_SIZE), %eax ; \
        addl    %esi, %eax ; \
        movl    %eax, R(physfree) ; \
        movl    %esi, %edi ; \
        movl    $((foo)*PAGE_SIZE),%ecx ; \
        xorl    %eax,%eax ; \
        cld ; \
        rep ; \
        stosb
        

might it be a very slight optimisation to change this to:
#define ALLOCPAGES(foo) \ 
        movl    R(physfree), %esi ; \
        movl    $((foo)*PAGE_SIZE), %eax ; \
        movl    %eax, %ecx ; \
        addl    %esi, %eax ; \
        movl    %eax, R(physfree) ; \
        movl    %esi, %edi ; \
        xorl    %eax,%eax ; \
        cld ; \
        rep ; \
        stosb
        
??

-- 
      __--_|\  Julian Elischer
     /       \ [EMAIL PROTECTED]
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Budapest
            v



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to