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


Groups > linux.kernel > #1243525

Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for Tango SoCs

From Nicolas Pitre <nicolas.pitre@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for Tango SoCs
Date 2015-10-09 18:40 +0200
Message-ID <qhIS8-7BS-49@gated-at.bofh.it> (permalink)
References (7 earlier) <qhjgZ-4AF-1@gated-at.bofh.it> <qhEYa-21U-7@gated-at.bofh.it> <qhFUe-3mZ-15@gated-at.bofh.it> <qhGdz-3Jr-3@gated-at.bofh.it> <qhGQi-4IM-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 9 Oct 2015, Daniel Lezcano wrote:

> On 10/09/2015 03:46 PM, Marc Gonzalez wrote:
> > On 09/10/2015 15:24, Daniel Lezcano wrote:
> 
> [ ... ]
> 
> > On a tangential subject, it would seem that platforms with verbose logs
> > at init might benefit from marking as __initconst strings used in __init
> > functions.
> > 
> > I discussed this some time ago:
> > https://lkml.org/lkml/2015/3/25/688
> > 
> > which pointed to an earlier discussion:
> > https://lkml.org/lkml/2014/8/21/255
> > https://lkml.org/lkml/2014/6/22/149
> 
> Thanks for the pointer.
> 
> Nicolas Pitre (Cc'ed) is working on optimizing the memory consumption by
> stripping unreferenced code at compile time. Perhaps he thought a solution for
> this particular use case.

This is different.  Here those strings are actually referenced and can't 
be discarded.  The solution is to mark them so they go in the 
appropriate section as suggested.

It might be worth investigating the addition of a new gcc function 
attribute that provides a replacement section for .data, .rodata, etc. 
in addition to .text, that would apply to data objects created within 
that function.


Nicolas
--
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 | Next in thread | Find similar | Unroll thread


Thread

[PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-06 17:40 +0200
  Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-07 01:10 +0200
    Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-07 10:30 +0200
      Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-07 11:50 +0200
        Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-07 13:20 +0200
          Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-07 13:40 +0200
      [PATCH v2] clocksource/drivers/tango_xtal: Add new timer for Tango  SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-07 13:40 +0200
        Re: [PATCH v2] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-07 14:40 +0200
          Re: [PATCH v2] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-07 15:20 +0200
            Re: [PATCH v2] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-07 18:10 +0200
              Re: [PATCH v2] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Mason <slash.tmp@free.fr> - 2015-10-08 15:20 +0200
                [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for Tango  SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 14:30 +0200
                Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-09 15:30 +0200
                Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 15:50 +0200
                Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-09 16:30 +0200
                Re: [PATCH v3] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-10-09 18:40 +0200
                [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for Tango  SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 16:40 +0200
                Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-09 16:50 +0200
                [PATCH v5] clocksource/drivers/tango_xtal: Add new timer for Tango  SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 17:00 +0200
                Re: [PATCH v5] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-16 14:10 +0200
                Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for Tango SoCs Måns Rullgård <mans@mansr.com> - 2015-10-09 17:00 +0200
                Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 17:50 +0200
                Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for Tango SoCs Måns Rullgård <mans@mansr.com> - 2015-10-09 18:10 +0200
                Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for  Tango SoCs Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-10-09 18:40 +0200

csiph-web