public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe W Damasio <felipewd-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
To: mochel-3NddpPZAyC0@public.gmane.org,
	andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] unneeded memory barrier
Date: Thu, 11 Sep 2003 17:31:41 -0300	[thread overview]
Message-ID: <3F60DBAD.3080502@terra.com.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

	Hi Andrew/Patrick,

	Patch against 2.6-test5 to remove an, IMHO, unneeded memory barrier 
on acpi/bus.c. Feel free to tell me I'm totally wrong, though :)

	If it looks good, please consider applying.

	Cheers,

Felipe

[-- Attachment #2: acpi-bus_state.patch --]
[-- Type: text/plain, Size: 389 bytes --]

--- linux-2.6.0-test5/drivers/acpi/bus.c.orig	2003-09-11 17:23:06.000000000 -0300
+++ linux-2.6.0-test5/drivers/acpi/bus.c	2003-09-11 17:23:14.000000000 -0300
@@ -333,7 +333,7 @@
 			schedule();
 
 		remove_wait_queue(&acpi_bus_event_queue, &wait);
-		set_current_state(TASK_RUNNING);
+		__set_current_state(TASK_RUNNING);
 
 		if (signal_pending(current))
 			return_VALUE(-ERESTARTSYS);

             reply	other threads:[~2003-09-11 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 20:31 Felipe W Damasio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-11 20:56 [PATCH] unneeded memory barrier Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A8470255EF0F-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-09-11 21:34   ` Felipe W Damasio

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=3F60DBAD.3080502@terra.com.br \
    --to=felipewd-y7mwnqjcidpfj/nunpodnw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=mochel-3NddpPZAyC0@public.gmane.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