Re: [PATCH] 2.6 RPAPHP structure size/performance

From: Greg KH
Date: Fri Jul 02 2004 - 16:07:14 EST


On Fri, Jul 02, 2004 at 11:21:54AM -0500, linas@xxxxxxxxxxxxxx wrote:
>
> Hi Greg,
>
> Please review and apply the following patch if you find it agreeable.
>
> This patch does not make any functional changes, but does improve
> both performance and memory usage by rearranging structure elements.
>
> The need for these changes became appearent during a code review of
> the disassembly involving this structure. The memory footprint of this
> structure is made smaller by grouping the byte fields next to each other.
> The access of the list_head can be simplified by making it the first element
> of the structure, thus avoiding a needless add-immediate without negatively
> impacting any of the other accesses.
>
> Signed-off-by: Linas Vepstas <linas@xxxxxxxxx>

Applied, thanks.

greg k-h
-
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/