Re: [PATCH 6/6] DIO: Inline the complete submission path

From: Andi Kleen
Date: Wed Jun 22 2011 - 16:10:31 EST


On Wed, Jun 22, 2011 at 03:59:56PM -0400, Christoph Hellwig wrote:
> > -static ssize_t
> > +static inline ssize_t
> > direct_io_worker(int rw, struct kiocb *iocb, struct inode *inode,
> > const struct iovec *iov, loff_t offset, unsigned long nr_segs,
> > unsigned blkbits, get_block_t get_block, dio_iodone_t end_io,
>
> For this one please just merge it into the caller. There's no logical
> separation between the two anyway.

The compiler does that anyways.

Or did you mean in source? That would conflict with the coding standard.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/