LKML Archive on
help / color / mirror / Atom feed
From: Andrew Morton <>
To: Olof Johansson <>
Subject: Re: [PATCH v2] Execute tasklets in the same order they were queued
Date: Tue, 12 Feb 2008 14:19:41 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, 12 Feb 2008 16:06:47 -0600
Olof Johansson <> wrote:

> I noticed this when looking at an openswan issue. Openswan (ab?)uses
> the tasklet API to defer processing of packets in some situations,
> with one packet per tasklet_action(). I started noticing sequences
> of backwards-ordered sequence numbers coming over the wire, since
> new tasklets are always queued at the head of the list but processed
> sequentially.
> Convert it to instead append new entries to the tail of the list. As an
> extra bonus, the splicing code in takeover_tasklets() no longer has to
> iterate over the list.

hm, well, let's see what if any effect this has on networking.

I'll cheerily tag this as to-be-merged-via-git-sched.  Ingo wasn't doing
much anyway.

      reply	other threads:[~2008-02-12 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 22:28 [PATCH] " Olof Johansson
2008-02-11 22:49 ` Andrew Morton
2008-02-12 21:55 ` Andrew Morton
2008-02-12 22:06   ` [PATCH v2] " Olof Johansson
2008-02-12 22:19     ` Andrew Morton [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [PATCH v2] Execute tasklets in the same order they were queued' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).