[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] LVM2/lib/mm memlock.c



On 02/18/2011 03:51 PM, zkabelac sourceware org wrote:

> 	Memory unlock allows 1 page difference

> --- LVM2/lib/mm/memlock.c	2011/02/18 14:16:12	1.34
> +++ LVM2/lib/mm/memlock.c	2011/02/18 14:51:04	1.35
> @@ -343,9 +343,15 @@

> +			if ((_mstats + 4096) < unlock_mstats)

Can we use getpagesize() here please?

Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]