All of lore.kernel.org
 help / color / mirror / Atom feed
From: "'gregkh@linuxfoundation.org'" <gregkh@linuxfoundation.org>
To: "Wang, Yalin" <Yalin.Wang@sonymobile.com>
Cc: "'alsa-devel@alsa-project.org'" <alsa-devel@alsa-project.org>,
	"'broonie@opensource.wolfsonmicro.com'"
	<broonie@opensource.wolfsonmicro.com>,
	"'tiwai@suse.de'" <tiwai@suse.de>,
	"'fweisbec@gmail.com'" <fweisbec@gmail.com>,
	"'mingo@redhat.com'" <mingo@redhat.com>,
	"'linux-input@vger.kernel.org'" <linux-input@vger.kernel.org>,
	"'rydberg@euromail.se'" <rydberg@euromail.se>,
	"'lrg@ti.com'" <lrg@ti.com>,
	"'pablo@netfilter.org'" <pablo@netfilter.org>,
	"'coreteam@netfilter.org'" <coreteam@netfilter.org>,
	"'linux-arm-msm@vger.kernel.org'" <linux-arm-msm@vger.kernel.org>,
	"'rostedt@goodmis.org'" <rostedt@goodmis.org>,
	"'netfilter@vger.kernel.org'" <netfilter@vger.kernel.org>,
	"'linux-arm-kernel@lists.infradead.org'"
	<linux-arm-kernel@lists.infradead.org>,
	"'netdev@vger.kernel.org'" <netdev@vger.kernel.org>,
	"'dmitry.torokhov@gmail.com'" <dmitry.torokhov@gmail.com>,
	'linux-kern
Subject: Re: change kmalloc into vmalloc for large memory allocations
Date: Sun, 2 Mar 2014 19:08:21 -0800	[thread overview]
Message-ID: <20140303030821.GA16732@kroah.com> (raw)
In-Reply-To: <35FD53F367049845BC99AC72306C23D102844605F38F@CNBJMBX05.corpusers.net>

On Mon, Mar 03, 2014 at 10:51:23AM +0800, Wang, Yalin wrote:
> Hi  greg,
> 
> I am sorry,
> I make a mistake ,
> You are right ,
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/usb/gadget/f_mass_storage.c?h=master#n2724
> 
> this one should not changed to use vmalloc,
> the buffer will be used by DMA,

Which is why a wrapper function will never work.

> others should be safe to change:
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/sound/soc/soc-core.c?h=master#n3772
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_ftp.c?h=master#n603
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_h323_main.c?h=master#n1849
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_irc.c?h=master#n247
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_sane.c?h=master#n195
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/input/evdev.c?h=master#n403

Then send individual patches for these and see what happens.

greg k-h
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

WARNING: multiple messages have this Message-ID (diff)
From: "'gregkh@linuxfoundation.org'" <gregkh@linuxfoundation.org>
To: "Wang, Yalin" <Yalin.Wang@sonymobile.com>
Cc: "'alsa-devel@alsa-project.org'" <alsa-devel@alsa-project.org>,
	"'broonie@opensource.wolfsonmicro.com'"
	<broonie@opensource.wolfsonmicro.com>,
	"'tiwai@suse.de'" <tiwai@suse.de>,
	"'fweisbec@gmail.com'" <fweisbec@gmail.com>,
	"'mingo@redhat.com'" <mingo@redhat.com>,
	"'linux-input@vger.kernel.org'" <linux-input@vger.kernel.org>,
	"'rydberg@euromail.se'" <rydberg@euromail.se>,
	"'lrg@ti.com'" <lrg@ti.com>,
	"'pablo@netfilter.org'" <pablo@netfilter.org>,
	"'coreteam@netfilter.org'" <coreteam@netfilter.org>,
	"'linux-arm-msm@vger.kernel.org'" <linux-arm-msm@vger.kernel.org>,
	"'rostedt@goodmis.org'" <rostedt@goodmis.org>,
	"'netfilter@vger.kernel.org'" <netfilter@vger.kernel.org>,
	"'linux-arm-kernel@lists.infradead.org'"
	<linux-arm-kernel@lists.infradead.org>,
	"'netdev@vger.kernel.org'" <netdev@vger.kernel.org>,
	"'dmitry.torokhov@gmail.com'" <dmitry.torokhov@gmail.com>,
	'linux-kern
Subject: Re: change kmalloc into vmalloc for large memory allocations
Date: Sun, 2 Mar 2014 19:08:21 -0800	[thread overview]
Message-ID: <20140303030821.GA16732@kroah.com> (raw)
In-Reply-To: <35FD53F367049845BC99AC72306C23D102844605F38F@CNBJMBX05.corpusers.net>

On Mon, Mar 03, 2014 at 10:51:23AM +0800, Wang, Yalin wrote:
> Hi  greg,
> 
> I am sorry,
> I make a mistake ,
> You are right ,
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/usb/gadget/f_mass_storage.c?h=master#n2724
> 
> this one should not changed to use vmalloc,
> the buffer will be used by DMA,

Which is why a wrapper function will never work.

> others should be safe to change:
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/sound/soc/soc-core.c?h=master#n3772
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_ftp.c?h=master#n603
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_h323_main.c?h=master#n1849
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_irc.c?h=master#n247
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_sane.c?h=master#n195
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/input/evdev.c?h=master#n403

Then send individual patches for these and see what happens.

greg k-h
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

WARNING: multiple messages have this Message-ID (diff)
From: gregkh@linuxfoundation.org ('gregkh@linuxfoundation.org')
To: linux-arm-kernel@lists.infradead.org
Subject: change kmalloc into vmalloc for large memory allocations
Date: Sun, 2 Mar 2014 19:08:21 -0800	[thread overview]
Message-ID: <20140303030821.GA16732@kroah.com> (raw)
In-Reply-To: <35FD53F367049845BC99AC72306C23D102844605F38F@CNBJMBX05.corpusers.net>

On Mon, Mar 03, 2014 at 10:51:23AM +0800, Wang, Yalin wrote:
> Hi  greg,
> 
> I am sorry,
> I make a mistake ,
> You are right ,
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/usb/gadget/f_mass_storage.c?h=master#n2724
> 
> this one should not changed to use vmalloc,
> the buffer will be used by DMA?

Which is why a wrapper function will never work.

> others should be safe to change:
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/sound/soc/soc-core.c?h=master#n3772
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_ftp.c?h=master#n603
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_h323_main.c?h=master#n1849
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_irc.c?h=master#n247
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/net/netfilter/nf_conntrack_sane.c?h=master#n195
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/tree/drivers/input/evdev.c?h=master#n403

Then send individual patches for these and see what happens.

greg k-h

  reply	other threads:[~2014-03-03  3:08 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28  8:15 [alsa-devel] change kmalloc into vmalloc for large memory allocations Wang, Yalin
2014-02-28  8:15 ` Wang, Yalin
2014-02-28  8:15 ` Wang, Yalin
2014-02-28  8:54 ` Huang Shijie
2014-02-28  8:54   ` Huang Shijie
2014-02-28  9:20   ` Wang, Yalin
2014-02-28  9:20     ` Wang, Yalin
2014-02-28  9:20     ` Wang, Yalin
2014-02-28 16:33     ` 'gregkh@linuxfoundation.org'
2014-02-28 16:33       ` 'gregkh@linuxfoundation.org'
2014-03-03  2:51       ` Wang, Yalin
2014-03-03  2:51         ` Wang, Yalin
2014-03-03  2:51         ` Wang, Yalin
2014-03-03  3:08         ` 'gregkh@linuxfoundation.org' [this message]
2014-03-03  3:08           ` 'gregkh@linuxfoundation.org'
2014-03-03  3:08           ` 'gregkh@linuxfoundation.org'
2014-03-03  8:00           ` Wang, Yalin
2014-03-03  8:00             ` Wang, Yalin
2014-03-03  8:00             ` Wang, Yalin
2014-03-03 14:10             ` 'gregkh@linuxfoundation.org'
2014-03-03 14:10               ` 'gregkh@linuxfoundation.org'
2014-03-04  7:30               ` [PATCH] netfilter:Change nf_conntrack modules to use vmalloc Wang, Yalin
2014-03-04  7:30                 ` Wang, Yalin
2014-02-28 14:11 ` change kmalloc into vmalloc for large memory allocations Steven Rostedt
2014-02-28 14:11   ` Steven Rostedt
2014-02-28 14:11   ` Steven Rostedt
2014-02-28 14:19 ` Takashi Iwai
2014-02-28 14:19   ` Takashi Iwai
2014-02-28 14:19   ` Takashi Iwai
2014-03-03  1:55   ` Wang, Yalin
2014-03-03  1:55     ` Wang, Yalin
2014-03-03  1:55     ` Wang, Yalin
2014-03-03  9:19     ` Takashi Iwai
2014-03-03  9:23       ` Takashi Iwai
2014-03-03 11:13         ` Wang, Yalin
2014-03-03 11:34           ` [alsa-devel] " Lars-Peter Clausen
2014-03-03 11:36             ` Wang, Yalin
2014-03-03 11:45               ` Lars-Peter Clausen
2014-03-03 11:45                 ` [alsa-devel] " Lars-Peter Clausen
2014-03-03 13:29                 ` Wang, Yalin
2014-03-03 14:22                   ` Lars-Peter Clausen
2014-03-03 14:29                     ` Wang, Yalin
2014-03-03 14:43                       ` Takashi Iwai
2014-03-03 15:33                         ` Wang, Yalin
2014-03-03 15:33                           ` [alsa-devel] " Wang, Yalin
2014-03-04  3:46                           ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2014-02-28  8:15 Wang, Yalin

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=20140303030821.GA16732@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Yalin.Wang@sonymobile.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=coreteam@netfilter.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=mingo@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=rostedt@goodmis.org \
    --cc=rydberg@euromail.se \
    --cc=tiwai@suse.de \
    /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.