[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4a016e0876fd4e54ae77763be3667209@EXCHCS32.ornl.gov>
Date: Tue, 5 Jan 2016 20:54:16 +0000
From: "Simmons, James A." <simmonsja@...l.gov>
To: 'Niranjan Dighe' <niranjan.dighe@...il.com>,
"Dilger, Andreas" <andreas.dilger@...el.com>
CC: "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"Patrick Boettcher" <patrick.boettcher@...teo.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Drokin, Oleg" <oleg.drokin@...el.com>,
"Mike Rapoport" <mike.rapoport@...il.com>,
Matthew Tyler <matt.tyler@...shics.com>,
"lustre-devel@...ts.lustre.org" <lustre-devel@...ts.lustre.org>
Subject: RE: [lustre-devel] [PATCH] staging: lustre/lustre/libcfs: Fix type
mismatch reported by sparse
>>>2. Is it OK to hardcode the appropriate gfp_t flags for the
>>>IOC_LIBCFS_MEMHOG, as the userspace
>>>seems to be taking the decision about the page allocation
>>>zone/strategy, is this what is intended?
>>
>> The memhog functionality is used to introduce memory pressure on a client
>> or server during operation to test error handling as well as memory
>> allocation deadlocks (e.g. GFP_KERNEL used where GFP_NOFS should be used).
>> There are other ways to do this in the kernel today, so all of the memhog
>> code could just be deleted I think.
>>
>> This looks like kportal_memhog_alloc(), kportal_memhog_free(),
>> IOC_LIBCFS_MEMHOG, and struct libcfs_device_userstate could be removed.
>>
>>
>> Cheers, Andreas
>>
>Thanks Andreas, I will send out a separate patch with the cleanup as
>you suggested.
I missed this email. I just sent the cleanup patches a bit ago.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists