Re: [PATCH v2 00/10] minor frontswap cleanups and tracing support

From: Konrad Rzeszutek Wilk
Date: Fri Jun 08 2012 - 18:04:27 EST


On Fri, Jun 08, 2012 at 09:15:09PM +0200, Sasha Levin wrote:
> Most of these patches are minor cleanups to the mm/frontswap.c code, the big
> chunk of new code can be attributed to the new tracing support.
>
>
> Changes in v2:
> - Rebase to current version
> - Address Konrad's comments

There was one comment that I am not sure if it was emailed and that
was about adding the "lockdep_assert_held(&swap_lock);".

You added that in two patches, while the git commit only talks about
"move that code" . Please remove it out of the "move the code" patches
and add it as a seperate git commit with an explanation of why it
is added.

Otherwise (well, the compile issue that was spotted) the patches
look great. Could you repost them with those two fixes please?

>
> Sasha Levin (10):
> mm: frontswap: remove casting from function calls through ops
> structure
> mm: frontswap: trivial coding convention issues
> mm: frontswap: split out __frontswap_curr_pages
> mm: frontswap: split out __frontswap_unuse_pages
> mm: frontswap: split frontswap_shrink further to simplify locking
> mm: frontswap: make all branches of if statement in put page
> consistent
> mm: frontswap: remove unnecessary check during initialization
> mm: frontswap: add tracing support
> mm: frontswap: split out function to clear a page out
> mm: frontswap: remove unneeded headers
>
> include/trace/events/frontswap.h | 167 ++++++++++++++++++++++++++++++++++++++
> mm/frontswap.c | 162 +++++++++++++++++++++++-------------
> 2 files changed, 270 insertions(+), 59 deletions(-)
> create mode 100644 include/trace/events/frontswap.h
>
> --
> 1.7.8.6
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>
>
--
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/