OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH] cgroup: Avoid a memset by using vzalloc
Re: [PATCH] cgroup: Avoid a memset by using vzalloc [message #41895] Wed, 03 November 2010 14:38 Go to next message
Christoph Lameter is currently offline  Christoph Lameter
Messages: 123
Registered: September 2006
Senior Member
On Mon, 1 Nov 2010, Jesper Juhl wrote:

> On Sun, 31 Oct 2010, Balbir Singh wrote:

> > > There are so many placed need vzalloc.
> > > Thanks, Jesper.


Could we avoid this painful exercise with a "semantic patch"?
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
Re: [PATCH] cgroup: Avoid a memset by using vzalloc [message #41903 is a reply to message #41895] Wed, 03 November 2010 15:20 Go to previous messageGo to next message
jovi zhang is currently offline  jovi zhang
Messages: 1
Registered: November 2010
Junior Member
On Wed, Nov 3, 2010 at 10:38 PM, Christoph Lameter <cl@linux.com> wrote:
> On Mon, 1 Nov 2010, Jesper Juhl wrote:
>
>> On Sun, 31 Oct 2010, Balbir Singh wrote:
>
>> > > There are so many placed need vzalloc.
>> > > Thanks, Jesper.
>
>
> Could we avoid this painful exercise with a "semantic patch"?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
Can we make a grep script to walk all files to find vzalloc usage like this?
No need to send patch mail one by one like this.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
Re: [PATCH] cgroup: Avoid a memset by using vzalloc [message #41904 is a reply to message #41903] Wed, 03 November 2010 15:31 Go to previous message
Christoph Lameter is currently offline  Christoph Lameter
Messages: 123
Registered: September 2006
Senior Member
On Wed, 3 Nov 2010, jovi zhang wrote:

> On Wed, Nov 3, 2010 at 10:38 PM, Christoph Lameter <cl@linux.com> wrote:
> > Could we avoid this painful exercise with a "semantic patch"?

> Can we make a grep script to walk all files to find vzalloc usage like this?
> No need to send patch mail one by one like this.

Please use spatch. See http://lwn.net/Articles/315686/
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
Previous Topic: Re: [PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+memset in memory controller code.
Next Topic: [PATCH 0/3] rcu - removing superfluous rcu_read_lock_held check
Goto Forum:
  


Current Time: Tue Jul 29 15:15:31 GMT 2025

Total time taken to generate the page: 0.23469 seconds