Re: iova RB tree setup tweak.

2008-02-12 Thread mark gross
On Mon, Feb 11, 2008 at 02:29:46PM -0800, Andrew Morton wrote: > On Mon, 11 Feb 2008 13:56:51 -0800 > mark gross <[EMAIL PROTECTED]> wrote: > > > The following patch merges two functions into one allowing for a 3% > > reduction in overhead in locating, allocating and inserting pages for > > use

Re: iova RB tree setup tweak.

2008-02-12 Thread mark gross
On Mon, Feb 11, 2008 at 02:29:46PM -0800, Andrew Morton wrote: On Mon, 11 Feb 2008 13:56:51 -0800 mark gross [EMAIL PROTECTED] wrote: The following patch merges two functions into one allowing for a 3% reduction in overhead in locating, allocating and inserting pages for use in IOMMU

Re: iova RB tree setup tweak.

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 13:56:51 -0800 mark gross <[EMAIL PROTECTED]> wrote: > The following patch merges two functions into one allowing for a 3% > reduction in overhead in locating, allocating and inserting pages for > use in IOMMU operations. > > Its a bit of a eye-crosser so I welcome any

iova RB tree setup tweak.

2008-02-11 Thread mark gross
The following patch merges two functions into one allowing for a 3% reduction in overhead in locating, allocating and inserting pages for use in IOMMU operations. Its a bit of a eye-crosser so I welcome any RB-tree / MM experts to take a look. It works by re-using some of the information

Re: iova RB tree setup tweak.

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 13:56:51 -0800 mark gross [EMAIL PROTECTED] wrote: The following patch merges two functions into one allowing for a 3% reduction in overhead in locating, allocating and inserting pages for use in IOMMU operations. Its a bit of a eye-crosser so I welcome any RB-tree / MM