Well, since the memory is already alloc'ed as normal user memory, it
gotta be 1), which require a registration point.
> > > That can be handled in user space by querying the mmaped region. But
> > > if the card does not have the smarts to do the virtual to physical
> > > translation, or at the very least limit the set of physical pages a
> > > user space a do DMA to/from that is a fundamental security issue and
> > > means all of the optimizations are not safe. And you must enter/exit
> > > the kernel to send a DMA transaction.
> > >
> >
> > send/recv don't need kernel interaction on high perf interconnects.
>
> Agreed. I was simply mention the requires for that to be safe.
>
> > > So far the only fortran issues I have seen that could affect malloc
> > > are adding extra under scores. What issue are you running into?
> > >
> >
> > Some don't use (g)libc, but do syscalls directly.
>
> That is clearly broken code. A user space application compiled statically is
> one thing. Directly putting syscalls in libraries other than libc is
> quite bad. And I currently cannot think of an excuse for it.
> Especially as that will ensure you use the slow syscall path on recent
> kernels.
>
Agree, come to think about it, if you write code in fortran it's broken
by default ;-)
The thing is of course that pesky customers have fortran code they need
to run, and as long there is no g90, and g77 performance sucks, there is
only commercial fortran compilers in play....
> Eric
TJ
-- _________________________________________________________________________Terje Eggestad mailto:terje.eggestad@scali.no Scali Scalable Linux Systems http://www.scali.com
Olaf Helsets Vei 6 tel: +47 22 62 89 61 (OFFICE) P.O.Box 150, Oppsal +47 975 31 574 (MOBILE) N-0619 Oslo fax: +47 22 62 89 51 NORWAY _________________________________________________________________________
- 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/