On Fri, Sep 01, 2000 at 03:15:27PM +0200, Andi Kleen wrote:
> The previous analysis was not quite right though (%cl is actually loaded,
> just %eax gets bogus input from the long long shift)
Perhaps, but it's sure not obvious:
bh->b_blocknr = (long)mp->pbm_bn +
(mp->pbm_offset >> inode->i_sb->s_blocksize_bits);
bh->b_blocknr >>= block_bits;
movl %eax,20(%esp) ; store shifted pbm_offset to temporary
movl %edx,24(%esp) ; "
movl 20(%esp),%eax ; load low part
addl (%esi),%eax ; b_blocknr = pbm_bn + pbm_offset
movl %ebp,%ecx ; load block_bits
shrl %cl,%eax ; b_blocknr >> block_bits
I've not got 2.95 handy, and your test case isn't executable,
so its difficult to see exactly what might be wrong here.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Large File support and bl... Stephen C. Tweedie
- Re: Large File support and bl... Rik van Riel
- Re: Large File support and bl... Albert D. Cahalan
- Re: Large File support and bl... Alan Cox
- Re: Large File support and bl... Richard Henderson
- Re: Large File support and bl... Matthew Jacob
- Re: Large File support and bl... Michael Meissner
- Re: Large File support and bl... Matthew Jacob
- Re: Large File support and bl... Michael Meissner
- Re: Large File support and bl... Matthew Jacob
- RE: Large File support and bl... Richard Henderson
- RE: Large File support and blocks. Richard B. Johnson
- RE: Large File support and blocks. Linda Walsh
- RE: Large File support and blocks... Mark Hahn
- Re: Large File support and blocks. Stephen C. Tweedie
- 512 byte magic multiplier (was: Large File support and ... Daniel Phillips
- Re: 512 byte magic multiplier (was: Large File sup... Alan Cox
- Re: 512 byte magic multiplier (was: Large File sup... Alexander Viro
- Re: 512 byte magic multiplier (was: Large File... Daniel Phillips
- Re: 512 byte magic multiplier (was: Large ... Theodore Y. Ts'o

