lkml.org 
[lkml]   [2012]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lib/decompress_unxz.c: removing all memory helper functions
On 05/31/2012 07:48 PM, Thavatchai Makphaibulcboke wrote:
> On 05/28/2012 01:03 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
>
>> can we do not duplicate those functions?
>>
>> Best Regards,
>> J.
>
> Thanks J for the comment. Unfortunately, there is no easy way to share
> files among different architectures' preboot environment. We have the
> choices either to have each architecture define its own copies or the
> decompressor defines them. I believe the former is preferable. As
> Lasse also pointed out, this way any specific architecture could provide
> an architectural dependent optimized version, if it chooses to.
>

We could always make a source code library, like we already in effect
have for the compression functions themselves.

-hpa



\
 
 \ /
  Last update: 2012-06-01 06:01    [W:0.163 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site