From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [Pv-drivers] [PATCH 01/12] VMCI: context implementation. Date: Wed, 21 Nov 2012 13:35:51 -0800 Message-ID: <1353533751.24807.49.camel@joe-AO722> References: <20121121202625.13252.86346.stgit@promb-2n-dhcp175.eng.vmware.com> <20121121203109.13252.92744.stgit@promb-2n-dhcp175.eng.vmware.com> <1353531886.24807.43.camel@joe-AO722> <20121121212908.GA16131@dtor-ws.eng.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121121212908.GA16131@dtor-ws.eng.vmware.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Dmitry Torokhov Cc: pv-drivers@vmware.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, George Zhang , virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Wed, 2012-11-21 at 13:29 -0800, Dmitry Torokhov wrote: > Hi Joe, Howdy. > On Wed, Nov 21, 2012 at 01:04:46PM -0800, Joe Perches wrote: > > On Wed, 2012-11-21 at 12:31 -0800, George Zhang wrote: > > > + context = kzalloc(sizeof(*context), GFP_KERNEL); > > > + if (!context) { > > > + pr_warn("Failed to allocate memory for VMCI context.\n"); > > > > OOM logging messages aren't necessary as alloc failures > > are already logged with a stack trace. > > > > Are we sure we are going to keep this policy forever? As in geological eras? Hard to say. It's been there awhile. If more OOM logging messages are removed, it's more likely for the core facility to stay. There is an __GFP_NOWARN override to avoid the stack trace. > I'd rather keep the OOM warnings. Your choice. cheers, Joe