[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711141128.59758.nickpiggin@yahoo.com.au>
Date: Wed, 14 Nov 2007 11:28:59 +1100
From: Nick Piggin <nickpiggin@...oo.com.au>
To: David Miller <davem@...emloft.net>
Cc: paulus@...ba.org, hch@...radead.org, akpm@...ux-foundation.org,
gregkh@...e.de, mucci@...utk.edu, eranian@....hp.com,
wcohen@...hat.com, robert.richter@....com,
linux-kernel@...r.kernel.org, andi@...stfloor.org
Subject: Re: [perfmon] Re: [perfmon2] perfmon2 merge news
On Wednesday 14 November 2007 23:07, David Miller wrote:
> From: Paul Mackerras <paulus@...ba.org>
> Date: Wed, 14 Nov 2007 23:03:24 +1100
>
> > You're suggesting that the behaviour of a read() should depend on what
> > was in the buffer before the read? Gack! Surely you have better
> > taste than that?
>
> Absolutely that's what I mean, it's atomic and gives you exactly what
> you need.
>
> I see nothing wrong or gross with these semantics. Nothing in the
> "book of UNIX" specifies that for a device or special file the passed
> in buffer cannot contain input control data.
True, but is it now any so different to an ioctl?
-
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