[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aceea2408bf049aebb1f1f893281795c@AcuMS.aculab.com>
Date: Tue, 15 Aug 2023 11:12:57 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'David Howells' <dhowells@...hat.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
Christian Brauner <christian@...uner.io>,
Matthew Wilcox <willy@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
CC: "jlayton@...nel.org" <jlayton@...nel.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [RFC PATCH] iov_iter: Convert iterate*() to inline funcs
From: David Howells
> Sent: 11 August 2023 15:32
>
> Convert the iov_iter iteration macros to inline functions to make the code
> easier to follow. Ideally, the optimiser would produce much the same code
> in both cases, but the revised code ends up a bit bigger.
...
Actually quite typical because inlining happens much later on.
I suspect that the #define benefits from the compile front-end
optimising constants.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists