From: Andrew Morton <akpm@zip.com.au>
To: Robert Kuebel <kuebelr@email.uc.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 8139too thread termination
Date: Tue, 30 Oct 2001 16:17:42 -0800 [thread overview]
Message-ID: <3BDF4326.2E6CDFF@zip.com.au> (raw)
In-Reply-To: <20011029232508.A305@cartman>, <20011029232508.A305@cartman> <20011030191152.A898@cartman>
Robert Kuebel wrote:
>
> ok, i am wondering if i have made a mistake. this patch will make the
> kernel thread die when tp->time_to_die is true. tp is kmalloc()'ed
> inside of alloc_etherdev. i didn't initialize time_to_die to 0, but
> this patch has been working perfectly for me. am i just lucky or are
> kmalloc()'ed regions zero'ed out? i know there is stuff like
> get_zeroed_page(), but i don't think that applies here. i guess it
> doesn't hurt to set the flag to zero myself.
>
alloc_etherdev->alloc_netdev->memset(dev, 0, alloc_size);
It was zeroed for you.
next prev parent reply other threads:[~2001-10-31 0:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-30 4:25 [PATCH] 8139too thread termination Robert Kuebel
2001-10-31 0:11 ` Robert Kuebel
2001-10-31 0:17 ` Andrew Morton [this message]
2001-10-31 0:18 ` Jeff Garzik
2001-10-31 0:30 ` Robert Kuebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BDF4326.2E6CDFF@zip.com.au \
--to=akpm@zip.com.au \
--cc=kuebelr@email.uc.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox