Re: Memory Rusting Effect [re: Linux hostile to poverty]

Richard Henderson (rth@dot.cygnus.com)
Mon, 20 Jul 1998 03:38:28 -0700


[ Sidestepping the problem at hand, but this is one of my pet peeves... ]

On Mon, Jul 20, 1998 at 09:38:00AM +0100, Alan Cox wrote:
> ... then you can merge it all together by borrowing the initfunc trick
> and having
>
> __swappable(int somedev_complexioctl(...))

I'd just like to remind someone before they go off and create another
butt-ugly macro like this that

#define __swappable __attribute__((__section__(".swap")))
int __swappable somedev_complexioctl(...) { ... }

works.

r~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html