lkml.org 
[lkml]   [2003]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpointer to .subsection and .previous usage in kernel?
Anyone have a pointer to what we are really trying to accomplish
with .subsection and .previous in the in-line and asm stuff?

Like maybe a readme or coding style doc for in-line and asm code?

That was the main thing I tripped over while trying to build
a 2.5 kernel using the cygwin toolchain with an eye towards
uml under windows. I found very little documentation about
the directives themselves even in the gnu info stuff and nada,
except one thread about abstracting them in spinlocks,
bout how/why they are used in the kernel. They appear to be
elf specific which is why the i386pe stuff puked on them. I
assume that most of this is to maximize cache hits, but that's
just a guess. There are a largish handful of them scattered
around the kernel outside of locks. Any pointers would be appreciated.

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

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.038 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site