All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <roland@topspin.com>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: LKML <linux-kernel@vger.kernel.org>,
	nhorman@redhat.com, hancockr@shaw.ca
Subject: Re: Tasklet usage?
Date: Sat, 16 Oct 2004 09:03:44 -0700	[thread overview]
Message-ID: <52brf2bqfz.fsf@topspin.com> (raw)
In-Reply-To: <41713B79.3080406@drzeus.cx> (Pierre Ossman's message of "Sat, 16 Oct 2004 17:17:13 +0200")

    Pierre> As I was digging through the functions there was one thing
    Pierre> that struck me. The parameter for the tasklet is of type
    Pierre> unsigned long, not void*. Since the parameter in most
    Pierre> cases is a pointer this might cause problems on 64-bit
    Pierre> systems. Or does the kernel do some magic to map kernel
    Pierre> memory in the first 4 GB?

unsigned long will be 64 bits on a 64-bit system.  There are many
places in the Linux kernel where we assume that void * and long are
the same size.

 - Roland

  reply	other threads:[~2004-10-16 16:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-15 13:14 Tasklet usage? Pierre Ossman
2004-10-15 13:32 ` Neil Horman
2004-10-15 13:46   ` Pierre Ossman
2004-10-15 14:09     ` Neil Horman
2004-10-16 15:17 ` Pierre Ossman
2004-10-16 16:03   ` Roland Dreier [this message]
2004-10-16 16:36     ` Pierre Ossman
2004-10-16 17:51       ` Roland Dreier
     [not found] <fa.dvqma04.n40gos@ifi.uio.no>
2004-10-16  1:46 ` Robert Hancock
     [not found] <fa.hf0cjfr.n3qt2d@ifi.uio.no>
     [not found] ` <fa.doac9ep.1ckig8r@ifi.uio.no>
2004-10-16 17:53   ` Robert Hancock

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=52brf2bqfz.fsf@topspin.com \
    --to=roland@topspin.com \
    --cc=drzeus-list@drzeus.cx \
    --cc=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nhorman@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.