On 11/22/11, Kostik Belousov <kostik...@gmail.com> wrote:
> On Mon, Nov 21, 2011 at 03:49:16PM +0000, Paul B. Mahol wrote:
>> Hi,
>>
>> This patch should fix panic on amd64 when using ndis with drivers
>> which make use of fpu registers.
> Do not allocate fpu_kern_ctx on stack. Its size is 528 bytes on amd64 right
> now, and potentially can grow after AVX support is finished.

So I need to introduce locks and allocate fpu_kern_ctx per CPU because otherwise
memory leaks are possible.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to