Subject: Re: loaning for read() of regular files
To: Chuck Silvers <firstname.lastname@example.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 02/15/2005 21:37:41
> int uvm_map_loanobj(struct vm_map *, struct uvm_object *, struct
> uio *);
Is there a reason (besides conservatism) that this
is done on a whole-uio base?
The uio is unrolled in fs code later anyway, and having
the hook there (or even integrating it into ubc_alloc???)
would allow for more fine-grained alignment checks,
eventually loaning single pages out of a smaller read().
Didn't look deeper, just trying to understand...