Files
tegra-linux-noble/include/linux
Alan Stern e6a92013ba [PATCH] SRCU: report out-of-memory errors
Currently the init_srcu_struct() routine has no way to report out-of-memory
errors.  This patch (as761) makes it return -ENOMEM when the per-cpu data
allocation fails.

The patch also makes srcu_init_notifier_head() report a BUG if a notifier
head can't be initialized.  Perhaps it should return -ENOMEM instead, but
in the most likely cases where this might occur I don't think any recovery
is possible.  Notifier chains generally are not created dynamically.

[akpm@osdl.org: avoid statement-with-side-effect in macro]
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 07:55:30 -07:00
..
2006-09-26 17:40:24 -04:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-01 00:39:29 -07:00
2006-08-31 00:02:15 -04:00
2006-09-28 17:53:58 -07:00
2006-10-03 23:01:26 +02:00
2006-09-22 23:24:30 -04:00
2006-10-03 08:04:16 -07:00
2006-07-03 19:44:51 -07:00
2006-09-26 08:48:54 -07:00
2006-09-22 15:18:47 -07:00
2006-10-03 08:04:13 -07:00
2006-07-28 21:02:00 -07:00
2006-10-02 07:57:12 -07:00
2006-09-26 17:40:24 -04:00
2006-10-04 07:55:30 -07:00
2006-09-26 15:38:52 -07:00
2006-09-28 18:02:18 -07:00
2006-10-03 08:04:08 -07:00
2006-09-28 18:02:13 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:31 -07:00
2006-09-28 18:02:29 -07:00
2006-10-02 07:57:22 -07:00
2006-08-21 10:02:50 +02:00
2006-09-28 17:54:01 -07:00
2006-10-04 07:55:12 -07:00
2006-09-28 18:02:30 -07:00
2006-10-04 07:55:12 -07:00
2006-09-26 08:48:47 -07:00
2006-10-01 00:39:18 -07:00
2006-09-28 18:02:22 -07:00
2006-09-29 09:18:12 -07:00
2006-10-01 00:39:19 -07:00
2006-09-22 14:54:20 -07:00
2006-09-28 18:02:58 -07:00
2006-08-27 11:01:32 -07:00
2006-10-02 07:57:22 -07:00
2006-09-26 08:48:48 -07:00
2006-10-04 07:55:30 -07:00
2006-08-19 17:44:31 -04:00
2006-10-03 08:03:40 -07:00
2006-06-28 15:54:27 -07:00
2006-09-25 21:08:37 -07:00
2006-07-03 19:48:25 -07:00
2006-10-03 23:01:26 +02:00
2006-10-02 07:57:15 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-09-29 09:18:11 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-09-26 08:48:58 -07:00
2006-09-28 17:53:59 -07:00
2006-10-01 00:39:18 -07:00
2006-09-27 08:26:20 -07:00
2006-09-28 18:02:16 -07:00
2006-10-01 00:39:34 -07:00
2006-10-01 00:39:19 -07:00
2006-10-04 07:55:12 -07:00
2006-09-29 09:18:13 -07:00
2006-07-10 13:24:25 -07:00
2006-09-25 16:52:14 -04:00
2006-10-03 23:01:26 +02:00