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


Groups > linux.kernel > #1242558

Re: [RFC] regmap: change bool to 1 bit variable in struct regmap

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [RFC] regmap: change bool to 1 bit variable in struct regmap
Date Thu, 08 Oct 2015 18:00:01 +0200
Message-ID <qhlLP-81t-5@gated-at.bofh.it> (permalink)
References <qhb06-13p-1@gated-at.bofh.it>
X-Original-To yalin wang <yalin.wang2010@gmail.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
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 11
Organization linux.* mail to news gateway
X-Original-Cc broonie@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 8 Oct 2015 17:49:58 +0200
X-Original-Message-ID <20151008154958.GA11776@xo-6d-61-c0.localdomain>
X-Original-References <1444278242-27382-1-git-send-email-yalin.wang2010@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1242558

Show key headers only | View raw


On Thu 2015-10-08 12:24:02, yalin wang wrote:
> This patch change some bool variables in struct regmap {  }
> to be u8 v : 1 type, so that we can shrink the sizeof of struct regmap.

Are there any atomicity/locking implications?

--
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

[RFC] regmap: change bool to 1 bit variable in struct regmap yalin wang <yalin.wang2010@gmail.com> - 2015-10-08 06:30 +0200
  Re: [RFC] regmap: change bool to 1 bit variable in struct regmap Mark Brown <broonie@kernel.org> - 2015-10-08 10:20 +0200
    Re: [RFC] regmap: change bool to 1 bit variable in struct regmap yalin wang <yalin.wang2010@gmail.com> - 2015-10-08 10:30 +0200
      Re: [RFC] regmap: change bool to 1 bit variable in struct regmap Mark Brown <broonie@kernel.org> - 2015-10-08 12:40 +0200
  Re: [RFC] regmap: change bool to 1 bit variable in struct regmap Pavel Machek <pavel@ucw.cz> - 2015-10-08 18:00 +0200

csiph-web