Files
linux/net
Andy Grover 0b088e003c RDS: Use page_remainder_alloc() for recv bufs
Instead of splitting up a page into RDS_FRAG_SIZE chunks
ourselves, ask rds_page_remainder_alloc() to do it. While it
is possible PAGE_SIZE > FRAG_SIZE, on x86en it isn't, so having
duplicate "carve up a page into buffers" code seems excessive.

The other modification this spawns is the use of a single
struct scatterlist in rds_page_frag instead of a bare page ptr.
This causes verbosity to increase in some places, and decrease
in others.

Finally, I decided to unify the lifetimes and alloc/free of
rds_page_frag and its page. This is a nice simplification in itself,
but will be extra-nice once we come to adding cmason's recycling
patch.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
2010-09-08 18:15:20 -07:00
..
…
2010-08-19 00:14:36 -07:00
2010-08-18 14:26:31 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
…
2010-09-02 10:12:06 -07:00
…
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-09-02 09:19:32 -07:00
…
2010-09-02 10:04:18 -07:00
2010-08-18 23:35:58 -07:00
2010-08-01 00:32:12 -07:00
2010-08-24 14:48:10 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
2010-08-31 14:20:40 -04:00
2010-05-17 17:39:28 -07:00
…
…