Re: [PATCH 1/2] device property: export code duplicating array of property entries

From: Mika Westerberg
Date: Mon Jan 23 2017 - 09:39:20 EST


On Sun, Jan 22, 2017 at 11:38:48PM -0800, Dmitry Torokhov wrote:
> When augmenting ACPI-enumerated devices with additional property data based
> on DMI info, a module has often several potential property sets, with only
> one being active on a given box. In order to save memory it should be
> possible to mark everything and __initdata or __initconst, execute DMI
> match early, and duplicate relevant properties. Then kernel will discard
> the rest of them.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

I think this is good idea, so please feel free to add my,

Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>