can i replace a .S file with .c file.
Anuz Pratap Singh Tomar
chambilkethakur at gmail.com
Mon Jan 7 09:16:38 EST 2013
On Mon, Jan 7, 2013 at 1:57 PM, SaNtosh kuLkarni <santosh.yesoptus at gmail.com
> Hi Anuz,
> say if i want to replace checksum with a checksum.c considering say if i
> get a better performance , what needs to be done,
which checksum file are you talking about?
On a quick find with checksum.S I found these files:
and then on quick find with checksum.c, I found these fliles:
These files seems to be one of tcp/ip/upd checksum routines. if these are
the files you are trying to change, then why are you trying to change the
format? And how do you know that changing from Assembly to C will improve
> On Mon, Jan 7, 2013 at 7:09 PM, Anuz Pratap Singh Tomar <
> chambilkethakur at gmail.com> wrote:
>> On Mon, Jan 7, 2013 at 12:34 PM, SaNtosh kuLkarni <
>> santosh.yesoptus at gmail.com> wrote:
>>> Hi is it possible that the assembly code .S file in linux kernel be
>>> replaced by a .C file.
>>> This seems like a very general question. Which file do you want to
>> replace and why?
>> You should understand that any *.S file contains arch specific code,
>> which is written in assembly for optimization/efficiency reasons. Replacing
>> it with an equivalent C code may undermine those goals.
>>> Kernelnewbies mailing list
>>> Kernelnewbies at kernelnewbies.org
>> Thank you
>> Warm Regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies