lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 2 Apr 2013 21:15:27 +0000
From:	Eric Wong <normalperson@...t.net>
To:	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc:	linux-kernel@...r.kernel.org,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Lai Jiangshan <laijs@...fujitsu.com>
Subject: Re: [PATCH] wfcqueue: add function for unsynchronized prepend

Mathieu Desnoyers <mathieu.desnoyers@...icios.com> wrote:
> * Eric Wong (normalperson@...t.net) wrote:
> > In some situations, it is necessary to prepend a node to a queue.
> > For epoll, this is necessary for two rare conditions:
> > 
> > * when the user triggers -EFAULT
> > * when reinjecting elements from the ovflist (implemented as a stack)
> 
> This approach makes sense.
> 
> In terms of API naming, I wonder if "prepend" is the good counterpart
> for "enqueue". Maybe "enqueue_first" or "enqueue_head" could be better
> suited ?

I'm not sure, I'll go with whatever name you decide is best :)

Thanks for looking at my patch, I'll post an updated version
once a name is decided.

-- 
Eric "isuckatnamingthings" Wong
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ