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


Groups > linux.kernel > #1282636

Re: [PATCH 1/2] mm/page_alloc.c: use list_{first,last}_entry instead of list_entry

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mm/page_alloc.c: use list_{first,last}_entry instead of list_entry
Date Thu, 03 Dec 2015 02:30:02 +0100
Message-ID <qBqSC-6Bi-5@gated-at.bofh.it> (permalink)
References <qBhmh-sK-7@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=suYbWQtRsQWpTX9ltsO5ku97ZV9/dT9CEbpmByMIHbU=; b=mqv7UsB7HXQXsXQa7Wz15Oh1DqR+/i7PGg8Ph4FOx9vW21C2ZT1Y71t1Pz9fPNQitx IilV7VexfNT7mkPur8km4+IujBeTgmoviCZth1A51HONI8y2ulZxN1Km3UepKypiRw57 U4/aG4olqQAL5Zdn0t5u3n64JeC/NXAcTovfLlzAoi+ZIAmV+f7jCdH1y0hvQYYkin7s UWON29U8qxhG/h6sdwTLHsvBiwvOcntZYs7UANCx1gQnKiNH0GgAdZwdExTfrs+S2IoY 322Q+qMiFGmC4Z+xI49CT0WNpXBM2yZLL8GzVvdDuqaNz/18/qgUT4Qqzudmktt8mcu8 +azg==
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=suYbWQtRsQWpTX9ltsO5ku97ZV9/dT9CEbpmByMIHbU=; b=V9pOzZAjO1ZiU9ibwfXa9kqq1VvsqIHKWX/at+VRe92SPuAnzlcUA1BDzGeI8Y8IYm WCJcEELWIKxYD+d1XZ61KhCuSum9urXmgR5D5OYGNATxXdfULbcgr60nRHLCRzn+1/5q Ytk/76PUX8dzTIYk53i/MYwmp9mWri470tls6quK/2rwZvlQAylcaI6NIWTdAc1ppeE2 I2drp62jLwAaaR8jJXPZNodyMcLaSgUpnl18oGjxcELsxmg//rD9HVHgKFNSQH/JSisQ 32V/9PLVxbpblFZivxxyxCtt8IEpAVplbmtffz3fXViaOSZmpstip+I2ggt1yvRJ1lfF /sVg==
X-Gm-Message-State ALoCoQn4ZX9U4Eqi54xFUZ2OEnYLd75OYkTcCbuqc+GWkKTxEdeLeqCVyO+hE60K5Q7rr4zjbsDv
X-Received by 10.66.120.136 with SMTP id lc8mr9344764pab.19.1449105795704; Wed, 02 Dec 2015 17:23:15 -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:23:13 -0800 (PST)
X-Original-Message-ID <alpine.DEB.2.10.1512021723020.17205@chino.kir.corp.google.com>
X-Original-References <db1a792ecffc24a080e130725a82f190804fdf78.1449068845.git.geliangtang@163.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1282636

Show key headers only | View raw


On Wed, 2 Dec 2015, Geliang Tang wrote:

> To make the intention clearer, use list_{first,last}_entry instead
> of list_entry.
> 
> 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 1/2] mm/page_alloc.c: use list_{first,last}_entry instead of list_entry Geliang Tang <geliangtang@163.com> - 2015-12-02 16:20 +0100
  Re: [PATCH 1/2] mm/page_alloc.c: use list_{first,last}_entry instead  of list_entry Michal Hocko <mhocko@kernel.org> - 2015-12-02 17:30 +0100
  Re: [PATCH 1/2] mm/page_alloc.c: use list_{first,last}_entry instead  of list_entry Mel Gorman <mgorman@techsingularity.net> - 2015-12-02 17:50 +0100
  Re: [PATCH 1/2] mm/page_alloc.c: use list_{first,last}_entry instead  of list_entry David Rientjes <rientjes@google.com> - 2015-12-03 02:30 +0100

csiph-web