Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1282633

Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in mark_free_pages()

Path csiph.com!au2pb.net!feeder.erje.net!2.eu.feeder.erje.net!nntpspool01.opticnetworks.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in mark_free_pages()
Date Thu, 03 Dec 2015 02:30:02 +0100
Message-ID <qBqSC-6Bi-1@gated-at.bofh.it> (permalink)
References <qBhmh-sK-7@gated-at.bofh.it> <qBhmh-sK-5@gated-at.bofh.it>
X-Original-To Geliang Tang <geliangtang@163.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; bh=ZG0pWq5h/U3jdSDFjbD/5SpPPHDj3h4vHwu3gtnZhdU=; b=fYJ0ADWepf9JQ5DPnRGFnmN0pAqFXoFKIrLdKZeqKu7I7ULLNWa1z/FIahf+5RzhKp JbThBzPH9sFo1F335iYEIbDg5riRTG/bdphI0WdjMv5kkZUs/Gdwbg1eKWNj4xXQJXKV hvazMmFLOQ5J/O6zFMszjPgFJ/0xs3mBYsnNOMf0+qN/8uSJqCS7bRAzOdOy42TM5J/J rg0nZUOhO1I6NvjZEvmPG+S3NEllA8JYMQqA2VQhy2YKkQ2ogmP2NBEqliLOzGpAwQge Rv315BF0y2zRkjIy6QoO6RSNSE4XpWmR6SLzKHk7wU3Xsgl6naL9DFV6QIzMBo9neMU3 vdEw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=ZG0pWq5h/U3jdSDFjbD/5SpPPHDj3h4vHwu3gtnZhdU=; b=TPtytF6ExqfTEc6R7A2GcXVl9jK67fax2hYDDHh43XA2WiXNYbOTimz+E1NOO4ZiCj Ftkc88X/jhw/45eprJkKKSz1oT8+iVxQP8nf/kEbfbbjOBXTE2QHOsCPUZxcK1EfU8bF zKtcd6Gm1NTlSMvi11jall1+nolLYCj616wjAr6Y6R+BdbJF2OhJMHETsiQgP7oQcujQ Qea+K6NFEOL2PcZoL/x37fm5E/DYLI+VPmU2hXHmQ8O9RF1u+S8Y7GrwVKEp4U5mnX8t za+HysBrcFOKSCTjNz0yCOFb5SzXsNeYQz4DU2Ip5+B8t4MglclBy8DAbnhbg4GKHJJ5 7hKQ==
X-Gm-Message-State ALoCoQnDIeEVo9jtHFYvaozIlqDr3QK7puAOqlffTG6kSm0MFRdH4r2Bu23OyvFinZ5KwEs24g5I
X-Received by 10.98.13.25 with SMTP id v25mr9347715pfi.123.1449105886267; Wed, 02 Dec 2015 17:24:46 -0800 (PST)
X-X-Sender rientjes@chino.kir.corp.google.com
User-Agent Alpine 2.10 (DEB 1266 2009-07-14)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, Vlastimil Babka <vbabka@suse.cz>, Michal Hocko <mhocko@suse.com>, Mel Gorman <mgorman@techsingularity.net>, Joonsoo Kim <js1304@gmail.com>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Johannes Weiner <hannes@cmpxchg.org>, Alexander Duyck <alexander.h.duyck@redhat.com>, linux-mm@kvack.org, linux-kernel@vger.kernel.org
X-Original-Date Wed, 2 Dec 2015 17:24:45 -0800 (PST)
X-Original-Message-ID <alpine.DEB.2.10.1512021724330.17205@chino.kir.corp.google.com>
X-Original-References <db1a792ecffc24a080e130725a82f190804fdf78.1449068845.git.geliangtang@163.com> <7009a8fa2dba33da9bcfe60db4741139c07c8074.1449068845.git.geliangtang@163.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1282633

Show key headers only | View raw


On Wed, 2 Dec 2015, Geliang Tang wrote:

> Use list_for_each_entry instead of list_for_each + list_entry to
> simplify the code.
> 
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Acked-by: David Rientjes <rientjes@google.com>
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in mark_free_pages() Geliang Tang <geliangtang@163.com> - 2015-12-02 16:20 +0100
  Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in  mark_free_pages() Michal Hocko <mhocko@kernel.org> - 2015-12-02 17:40 +0100
  Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in  mark_free_pages() Mel Gorman <mgorman@techsingularity.net> - 2015-12-02 17:50 +0100
  Re: [PATCH 2/2] mm/page_alloc.c: use list_for_each_entry in  mark_free_pages() David Rientjes <rientjes@google.com> - 2015-12-03 02:30 +0100

csiph-web