Re: [PATCH 10/31] ITER_PIPE: fold data_start() and pipe_space_for_user() together

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

 



On Sat, Jun 18, 2022 at 06:35:17AM +0100, Al Viro wrote:
> +	*npages = max(used - (int)pipe->max_usage, 0);

	*npages = max((int)pipe->max_usage - used, 0);

>  	if (off > 0 && off < PAGE_SIZE) { // anon and not full



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux