Skip to contentSkip to conversation

+ lib-remove-unnecessary-work-pending-test.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 19, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + lib-remove-unnecessary-work-pending-test.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 19 Sep 2013 15:04:56 -0700

The patch titled
Subject: lib/debugobjects.c: remove unnecessary work pending test
has been added to the -mm tree. Its filename is
lib-remove-unnecessary-work-pending-test.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/lib-remove-unnecessary-work-pending-test.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/lib-remove-unnecessary-work-pending-test.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Xie XiuQi <[email protected]>
Subject: lib/debugobjects.c: remove unnecessary work pending test

Remove unnecessary work pending test before calling schedule_work(). It has been tested in queue_work_on() already. No functional changed.

---

 lib/debugobjects.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/debugobjects.c renamed from lib/debugobjects.c~lib-remove-unnecessary-work-pending-test +1 -1
diff -puN lib/debugobjects.c~lib-remove-unnecessary-work-pending-test lib/debugobjects.c
@@ -196,7 +196,7 @@ static void free_object(struct debug_obj
 	 * initialized:
 	 */
 	if (obj_pool_free > ODEBUG_POOL_SIZE && obj_cache)
-		sched = keventd_up() && !work_pending(&debug_obj_work);
+		sched = keventd_up();
 	hlist_add_head(&obj->node, &obj_pool);
 	obj_pool_free++;
 	obj_pool_used--;

_

Patches currently in -mm which might be from [email protected] are

input-remove-unnecessary-work-pending-test.patch lib-remove-unnecessary-work-pending-test.patch staging-olpc_dcon-remove-unnecessary-work-pending-test.patch ipc-remove-unnecessary-work-pending-test.patch