[prev in list] [next in list] [prev in thread] [next in thread]
List: kernelnewbies
Subject: Re: MMX code in kernel modules
From: Timur Tabi <ttabi () interactivesi ! com>
Date: 2000-09-12 17:08:37
[Download RAW message or body]
** Reply to message from Timur Tabi <ttabi@interactivesi.com> on Tue, 12 Sep
2000 11:57:57 -0500
> What about interrupt handlers? Can I use MMX operations inside an interrupt
> handler?
I think I just answered my own question. In mmx.c, I found this:
void mmx_copy_page(void *to, void *from)
{
if(in_interrupt())
slow_copy_page(to, from);
else
fast_copy_page(to, from);
}
slow_copy_page doesn't use MMX, but fast_copy_page does.
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
When replying to a mailing-list message, please don't cc: me, because then I'll just \
get two copies of the same message.
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic