tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compat_netbsd32 swapctl
On Wed, Jan 29, 2014 at 03:37:13PM +0000, Emmanuel Dreyfus wrote:
> On Wed, Jan 29, 2014 at 01:48:35PM +0100, Martin Husemann wrote:
> > My vote for this special case: hard code it #ifdef __x86_64__.
> > If we run into other instances, we can add a define (like: DEV_T_ALIGN_32).
>
> Here is a patch that fixes the problem.
It seems to fix the problem, but it fails to do since it returns N
times the first record.
Fixing it will require a modification of src/sys/uvm/uvm_swap.c to
expose a function that allows the record size to be specified.
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index