[<prev] [next>] [day] [month] [year] [list]
Message-ID: <890633.77912.qm@web37605.mail.mud.yahoo.com>
Date: Mon, 10 Jan 2011 18:58:45 -0800 (PST)
From: Alex Dubov <oakad@...oo.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Maxim Levitsky <maximlevitsky@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Takashi Iwai <tiwai@...e.de>
Subject: Re: [PATCH 1/4] scatterlist: new helper functions
>
> The functions that were added:
>
> * sg_nents/sg_total_len - interate over sg list to figure
You've got a typo here.
> out its total len, number of entries.
> Useful for not keeping that information in side channels.
>
> Allows to transparetly compare contents of the sg list to
> given linear
And here.
> buffer.
> If needed later, a function that compares two sgs can be
> added.
>
> All of this code is used by my ms_block.c driver.
>
I definitely find this useful.
But, of course, we need to ask somebody from the memory management
department to look at it, as this patch is intended to be not memorystick
specific.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists