[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121106152427.dfde4c52.akpm@linux-foundation.org>
Date: Tue, 6 Nov 2012 15:24:27 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ming Lei <ming.lei@...onical.com>
Cc: linux-kernel@...r.kernel.org,
Alan Stern <stern@...land.harvard.edu>,
Oliver Neukum <oneukum@...e.de>,
Minchan Kim <minchan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rjw@...k.pl>, Jens Axboe <axboe@...nel.dk>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-usb@...r.kernel.org, linux-pm@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCH v4 3/6] block/genhd.c: apply
pm_runtime_set_memalloc_noio on block devices
On Sat, 3 Nov 2012 16:35:11 +0800
Ming Lei <ming.lei@...onical.com> wrote:
> This patch applyes the introduced pm_runtime_set_memalloc_noio on
> block device so that PM core will teach mm to not allocate memory with
> GFP_IOFS when calling the runtime_resume and runtime_suspend callback
> for block devices and its ancestors.
>
> ...
>
> @@ -532,6 +533,13 @@ static void register_disk(struct gendisk *disk)
> return;
> }
> }
> +
> + /* avoid probable deadlock caused by allocating memory with
Again, please fix the comment style. Take a look at the rest of this file!
> + * GFP_KERNEL in runtime_resume callback of its all ancestor
> + * deivces
typo
> + */
--
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