mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: ja@ssi.bg (Julian Anastasov)
Cc: kain@kain.org, linux-kernel@vger.kernel.org, ak@suse.de
Subject: Re: OOPS: Multipath routing 2.4.17
Date: Sat, 2 Mar 2002 15:59:49 +0300 (MSK)	[thread overview]
Message-ID: <200203021259.PAA20250@ms2.inr.ac.ru> (raw)
In-Reply-To: <Pine.LNX.4.44.0203012316120.1420-100000@u.domain.uli> from "Julian Anastasov" at Mar 2, 2 00:27:40 am

Hello!

> w = jiffies % fi->fib_power;

	power = fi->fib_power;
	barrier();
	if (power) ...

Such thing are made in this way.

> 	write_lock(&fib_info_lock);

DO NOT MAKE THIS! fib_info_lock must not be acquired in this context,
it will lockup. Just add a new lock, which is protected wrt softirqs.

Alexey

  parent reply	other threads:[~2002-03-02 13:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02  0:27 Julian Anastasov
2002-03-02  0:25 ` Kain
2002-03-02 12:59 ` kuznet [this message]
2002-03-02 15:28   ` Julian Anastasov
2002-03-02 14:36     ` kuznet
2002-03-02 18:10       ` Julian Anastasov
     [not found] <Pine.LNX.4.44.0203012316120.1420-100000@u.domain.uli.suse.lists.linux.kernel>
2002-03-01 22:43 ` Andi Kleen
2002-03-02  1:01   ` Julian Anastasov
2002-03-01 23:05     ` Andi Kleen
2002-03-01 23:00 ` Andi Kleen
2002-03-02  1:20   ` Julian Anastasov
     [not found] <20020301173414.GA30037@kain.org.suse.lists.linux.kernel>
2002-03-01 18:12 ` Andi Kleen
2002-03-01 19:04   ` Kain
  -- strict thread matches above, loose matches on Subject: below --
2002-03-01 17:34 Kain

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=200203021259.PAA20250@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=ak@suse.de \
    --cc=ja@ssi.bg \
    --cc=kain@kain.org \
    --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

all inboxes | Powered by JetHome®