public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* __builtin_* functions
@ 2001-11-08 18:19 MEHTA,HIREN (A-SanJose,ex1)
  2001-11-10 21:55 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: MEHTA,HIREN (A-SanJose,ex1) @ 2001-11-08 18:19 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Hi List,

Can these __builtin_* functions provided by gcc be used inside kernel ?
In particular __builtin_alloca ?

regards,
-hiren


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: __builtin_* functions
  2001-11-08 18:19 __builtin_* functions MEHTA,HIREN (A-SanJose,ex1)
@ 2001-11-10 21:55 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2001-11-10 21:55 UTC (permalink / raw)
  To: MEHTA,HIREN (A-SanJose,ex1); +Cc: 'linux-kernel@vger.kernel.org'

On Thu, Nov 08, 2001 at 11:19:40AM -0700, MEHTA,HIREN (A-SanJose,ex1) wrote:

> Can these __builtin_* functions provided by gcc be used inside kernel ?
> In particular __builtin_alloca ?

In theory they're usable, in practice you should consider that alloca will
allocate memory on the stack which is of very limited size under Linux so
alloca doesn't usually seem to be a good idea.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-11  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-08 18:19 __builtin_* functions MEHTA,HIREN (A-SanJose,ex1)
2001-11-10 21:55 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox