Re: discard change to swapon(2) and swapon(8)

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

 



On Sun, Oct 24, 2010 at 05:32:47PM -0700, Hugh Dickins wrote:
> In kernel 2.6.36 (and in stable kernel 2.6.35.5) I made a tiny change
> to the swapon(const char *path, int swapflags) system call interface:
> kernel commit 3399446632739fcd05fd8b272b476a69c6e6d14a
> swap: discard while swapping only if SWAP_FLAG_DISCARD
[...]
> --- util-linux-ng-2.18/mount/swapon.c.0	2010-06-14 02:19:19.000000000 -0700
> +++ util-linux-ng-2.18/mount/swapon.c	2010-09-05 22:07:48.000000000 -0700

 Applied with some changes, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux