All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Shani Moideen <shani.moideen@wipro.com>
Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org,
	kernel-janitors@lists.osdl.org
Subject: [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0,
Date: Tue, 08 May 2007 11:10:46 +0000	[thread overview]
Message-ID: <46405AB6.6040901@msgid.tls.msk.ru> (raw)
In-Reply-To: <1178621444.3598.15.camel@shani-win>

Shani Moideen wrote:
>                 ptr = kmap(page);
> -               memset(ptr, 0, PAGE_SIZE);
> +               clear_page(ptr);

I wonder if it's worth to invent kzmap() or something like that... ;)

/mjt
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Shani Moideen <shani.moideen@wipro.com>
Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org,
	kernel-janitors@lists.osdl.org
Subject: Re: [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c
Date: Tue, 08 May 2007 15:10:46 +0400	[thread overview]
Message-ID: <46405AB6.6040901@msgid.tls.msk.ru> (raw)
In-Reply-To: <1178621444.3598.15.camel@shani-win>

Shani Moideen wrote:
>                 ptr = kmap(page);
> -               memset(ptr, 0, PAGE_SIZE);
> +               clear_page(ptr);

I wonder if it's worth to invent kzmap() or something like that... ;)

/mjt

  reply	other threads:[~2007-05-08 11:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 10:50 [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c Shani Moideen
2007-05-08 11:02 ` [KJ] [KJ PATCH] Replacing memset(<addr>, 0, Shani Moideen
2007-05-08 11:10 ` Michael Tokarev [this message]
2007-05-08 11:10   ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c Michael Tokarev
2007-05-08 12:21   ` [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0, Pekka Enberg
2007-05-08 12:21     ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c Pekka Enberg
2007-05-08 17:13     ` [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0, Satyam Sharma
2007-05-08 17:13       ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c Satyam Sharma
2007-05-08 17:40       ` [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0, Eric W. Biederman
2007-05-08 17:40         ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in kernel/kexec.c Eric W. Biederman
2007-06-18 12:51   ` [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0, QLogic Support
2007-07-10 19:28   ` Roland Dreier
  -- strict thread matches above, loose matches on Subject: below --
2007-05-08 10:45 [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in mm/memory.c Shani Moideen
2007-05-08 10:57 ` [KJ] [KJ PATCH] Replacing memset(<addr>, 0, Shani Moideen
2007-05-08 10:45 ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in mm/memory.c Shani Moideen
2007-05-08 11:18 ` [KJ] Re: [KJ PATCH] Replacing memset(<addr>, 0, Andy Whitcroft
2007-05-08 11:18   ` [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in mm/memory.c Andy Whitcroft
2007-05-08 11:18   ` Andy Whitcroft
2007-06-14 11:15 ` [KJ] [KJ PATCH] Replacing memset(<addr>,0,PAGE_SIZE) with Shani Moideen
2007-06-14 11:28 ` Shani Moideen
2007-06-14 11:32 ` Shani Moideen
2007-06-18  3:28 ` Shani Moideen
2007-06-18  3:35 ` Shani Moideen
2007-06-18  3:45 ` Shani Moideen
2007-06-18 13:03 ` Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46405AB6.6040901@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=ebiederm@xmission.com \
    --cc=kernel-janitors@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shani.moideen@wipro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.