tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: write alignment matters?



On Tue, Jun 21, 2011 at 02:16:18AM -0400, der Mouse wrote:
> I've just run into something (on 4.0.1) which looks to me as though
> write() buffer alignment matters.  This sounds to me like a bug, but it
> appears to have something to do with the hardware, and I'd appreciate
> any thoughts on how I might best track it down.

A guess ....
Maybe the transfer is split somewhere into MAXPHYS (64k) blocks and
then some code tries to do something (ie lock down) all the associated
pages and something then barfs because that exeeeds MAXPHYS?

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index