[PATCH] acpi / apei: fix NULL deref during init

2018-12-14 Thread Thomas Schoebel-Theuer
or path is taken. Solution: do the initialisation unconditionally. Also as a safeguard. Fixes: d91525eb8ee6a622ce476955fe1a2530ade87c83 Signed-off-by: Thomas Schoebel-Theuer --- drivers/acpi/apei/apei-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/apei-

Re: [PATCH] acpi / apei: fix NULL deref during init

2018-12-14 Thread Thomas Schoebel-Theuer
On 12/14/18 21:24, Borislav Petkov wrote: Because apei_resources_fini() happens under the same condition check and if arch_apei_filter_addr was false, it should not become true, all of a sudden. Or? Hi Borislav, please take a look at the stacktrace. For some reason, and only at that specific

Re: Can we drop upstream Linux x32 support?

2018-12-14 Thread Thomas Schoebel-Theuer
On 12/14/18 22:41, Thomas Schöbel-Theuer wrote: On 12/14/18 22:24, Andy Lutomirski wrote: I'm talking about x32, which is a different beast. So from my viewpoint the mentioned roadmap / timing requirements will remain the same, whatever you are dropping. Enterprise-critical use cases will

[PATCH STABLE 4.4] futex: fix spin_lock() / spin_unlock_irq() imbalance

2021-03-05 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer The following is obviously incorrect: static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this, struct futex_hash_bucket *hb) { [...] raw_spin_lock(&pi_state->pi_mutex.wait_lock); [...] raw_spin_unlock_irq(&a

[PATCH STABLE 4.4] futex: fix irq self-deadlock and satisfy assertion

2021-03-05 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer Since v4.4.257 when CONFIG_PROVE_LOCKING=y the following triggers right after reboot of our pre-life systems which equal our production setup: Mar 03 11:27:33 icpu-test-bap10 kernel: = Mar 03 11:27:33 icpu-test-bap10 kernel: [ INFO

[PATCH RESEND v2 STABLE 4.4] futex: fix spin_lock() / spin_unlock_irq() imbalance

2021-03-06 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer This patch and problem analysis is specific for 4.4 LTS, due to incomplete backporting of other fixes. Later LTS series have different backports. The following is obviously incorrect: static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this

[PATCH RESEND v2 STABLE 4.4] futex: fix irq self-deadlock and satisfy assertion

2021-03-06 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer This patch and problem analysis is specific for 4.4 LTS, due to incomplete backporting of other fixes. Later LTS series have different backports. Since v4.4.257 when CONFIG_PROVE_LOCKING=y the following triggers right after reboot of our pre-life systems which equal

[PATCH 07/50] mars: add new file include/linux/brick/brick_checking.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/brick_checking.h | 88 1 file changed, 88 insertions(+) create mode 100644 include/linux/brick/brick_checking.h diff --git a/include/linux/brick/brick_checking.h b/include/linux/brick

[PATCH 16/50] mars: add new file drivers/block/mars/lib_timing.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/lib_timing.c | 51 + 1 file changed, 51 insertions(+) create mode 100644 drivers/block/mars/lib_timing.c diff --git a/drivers/block/mars/lib_timing.c b/drivers/block/mars/lib_timing.c new file

[PATCH 27/50] mars: add new file include/linux/xio/xio_bio.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_bio.h | 69 + 1 file changed, 69 insertions(+) create mode 100644 include/linux/xio/xio_bio.h diff --git a/include/linux/xio/xio_bio.h b/include/linux/xio/xio_bio.h new file mode 100644

[PATCH 20/50] mars: add new file drivers/block/mars/xio_bricks/xio.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio.c | 183 1 file changed, 183 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio.c diff --git a/drivers/block/mars/xio_bricks/xio.c b/drivers/block/mars/xio_bricks

[PATCH 23/50] mars: add new file include/linux/lib_mapfree.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/lib_mapfree.h | 65 + 1 file changed, 65 insertions(+) create mode 100644 include/linux/lib_mapfree.h diff --git a/include/linux/lib_mapfree.h b/include/linux/lib_mapfree.h new file mode 100644

[PATCH 21/50] mars: add new file include/linux/xio_net.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio_net.h | 126 1 file changed, 126 insertions(+) create mode 100644 include/linux/xio_net.h diff --git a/include/linux/xio_net.h b/include/linux/xio_net.h new file mode 100644 index

[PATCH 48/50] mars: add new file drivers/block/mars/Kconfig

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/Kconfig | 371 + 1 file changed, 371 insertions(+) create mode 100644 drivers/block/mars/Kconfig diff --git a/drivers/block/mars/Kconfig b/drivers/block/mars/Kconfig new file mode 100644

[PATCH 10/50] mars: add new file drivers/block/mars/brick.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/brick.c | 801 + 1 file changed, 801 insertions(+) create mode 100644 drivers/block/mars/brick.c diff --git a/drivers/block/mars/brick.c b/drivers/block/mars/brick.c new file mode 100644

[PATCH 09/50] mars: add new file include/linux/brick/brick.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/brick.h | 632 1 file changed, 632 insertions(+) create mode 100644 include/linux/brick/brick.h diff --git a/include/linux/brick/brick.h b/include/linux/brick/brick.h new file mode 100644

[PATCH 03/50] mars: add new file include/linux/brick/brick_say.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/brick_say.h | 80 + 1 file changed, 80 insertions(+) create mode 100644 include/linux/brick/brick_say.h diff --git a/include/linux/brick/brick_say.h b/include/linux/brick/brick_say.h new file

[PATCH 47/50] mars: add new file drivers/block/mars/Makefile

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/Makefile | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 drivers/block/mars/Makefile diff --git a/drivers/block/mars/Makefile b/drivers/block/mars/Makefile new file mode 100644 index

[PATCH 04/50] mars: add new file drivers/block/mars/brick_say.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/brick_say.c | 931 + 1 file changed, 931 insertions(+) create mode 100644 drivers/block/mars/brick_say.c diff --git a/drivers/block/mars/brick_say.c b/drivers/block/mars/brick_say.c new file

[PATCH 40/50] mars: add new file drivers/block/mars/mars_light/light_strategy.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/mars_light/light_strategy.c | 1898 1 file changed, 1898 insertions(+) create mode 100644 drivers/block/mars/mars_light/light_strategy.c diff --git a/drivers/block/mars/mars_light/light_strategy.c b/drivers

[PATCH 39/50] mars: add new file include/linux/mars_light/light_strategy.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/mars_light/light_strategy.h | 224 ++ 1 file changed, 224 insertions(+) create mode 100644 include/linux/mars_light/light_strategy.h diff --git a/include/linux/mars_light/light_strategy.h b/include/linux

[PATCH 28/50] mars: add new file drivers/block/mars/xio_bricks/xio_bio.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_bio.c | 810 1 file changed, 810 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_bio.c diff --git a/drivers/block/mars/xio_bricks/xio_bio.c b/drivers/block/mars

[PATCH 41/50] mars: add new file drivers/block/mars/mars_light/light_net.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/mars_light/light_net.c | 99 +++ 1 file changed, 99 insertions(+) create mode 100644 drivers/block/mars/mars_light/light_net.c diff --git a/drivers/block/mars/mars_light/light_net.c b/drivers/block/mars

[PATCH 50/50] mars: activate MARS in drivers/block/mars/

2014-07-01 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer --- drivers/block/Kconfig | 2 ++ drivers/block/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 014a1cf..8646956 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -283,6 +283,8

[PATCH 45/50] mars: add new file drivers/block/mars/mars_light/mars_proc.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/mars_light/mars_proc.c | 349 ++ 1 file changed, 349 insertions(+) create mode 100644 drivers/block/mars/mars_light/mars_proc.c diff --git a/drivers/block/mars/mars_light/mars_proc.c b/drivers/block/mars

[PATCH 36/50] mars: add new file drivers/block/mars/xio_bricks/xio_copy.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_copy.c | 976 +++ 1 file changed, 976 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_copy.c diff --git a/drivers/block/mars/xio_bricks/xio_copy.c b/drivers/block/mars

[PATCH 14/50] mars: add new file drivers/block/mars/lib_rank.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/lib_rank.c | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 drivers/block/mars/lib_rank.c diff --git a/drivers/block/mars/lib_rank.c b/drivers/block/mars/lib_rank.c new file mode

[PATCH 19/50] mars: add new file include/linux/xio.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio.h | 273 1 file changed, 273 insertions(+) create mode 100644 include/linux/xio.h diff --git a/include/linux/xio.h b/include/linux/xio.h new file mode 100644 index 000..33f125d

[PATCH 44/50] mars: add new file include/linux/mars_light/mars_proc.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/mars_light/mars_proc.h | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 include/linux/mars_light/mars_proc.h diff --git a/include/linux/mars_light/mars_proc.h b/include/linux/mars_light/mars_proc.h new file

[PATCH 34/50] mars: add new file drivers/block/mars/xio_bricks/xio_if.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_if.c | 1037 1 file changed, 1037 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_if.c diff --git a/drivers/block/mars/xio_bricks/xio_if.c b/drivers/block/mars

[PATCH 37/50] mars: add new file include/linux/xio/xio_trans_logger.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_trans_logger.h | 249 +++ 1 file changed, 249 insertions(+) create mode 100644 include/linux/xio/xio_trans_logger.h diff --git a/include/linux/xio/xio_trans_logger.h b/include/linux/xio

[PATCH 15/50] mars: add new file include/linux/brick/lib_timing.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_timing.h | 156 +++ 1 file changed, 156 insertions(+) create mode 100644 include/linux/brick/lib_timing.h diff --git a/include/linux/brick/lib_timing.h b/include/linux/brick/lib_timing.h new

[PATCH 31/50] mars: add new file include/linux/xio/xio_client.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_client.h | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 include/linux/xio/xio_client.h diff --git a/include/linux/xio/xio_client.h b/include/linux/xio/xio_client.h new file

[PATCH 11/50] mars: add new file include/linux/brick/lib_pairing_heap.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_pairing_heap.h | 94 ++ 1 file changed, 94 insertions(+) create mode 100644 include/linux/brick/lib_pairing_heap.h diff --git a/include/linux/brick/lib_pairing_heap.h b/include/linux/brick

[PATCH 26/50] mars: add new file drivers/block/mars/xio_bricks/lib_log.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/lib_log.c | 500 1 file changed, 500 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/lib_log.c diff --git a/drivers/block/mars/xio_bricks/lib_log.c b/drivers/block/mars

[PATCH 32/50] mars: add new file drivers/block/mars/xio_bricks/xio_client.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_client.c | 739 + 1 file changed, 739 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_client.c diff --git a/drivers/block/mars/xio_bricks/xio_client.c b/drivers/block

[PATCH 42/50] mars: add new file include/linux/xio/xio_server.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_server.h | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 include/linux/xio/xio_server.h diff --git a/include/linux/xio/xio_server.h b/include/linux/xio/xio_server.h new file

[PATCH 49/50] mars: generic pre-patch for mars

2014-07-01 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer Mostly introduces missing EXPORT_SYMBOL(). Should have no impact onto the kernel. This is the generic version which exports all sys_*() system calls. This should not introduce any additional maintenance pain because that interfaces has to be stable anyway due to

[PATCH 33/50] mars: add new file include/linux/xio/xio_if.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_if.h | 93 ++ 1 file changed, 93 insertions(+) create mode 100644 include/linux/xio/xio_if.h diff --git a/include/linux/xio/xio_if.h b/include/linux/xio/xio_if.h new file mode 100644

[PATCH 18/50] mars: add new file drivers/block/mars/lib_limiter.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/lib_limiter.c | 103 +++ 1 file changed, 103 insertions(+) create mode 100644 drivers/block/mars/lib_limiter.c diff --git a/drivers/block/mars/lib_limiter.c b/drivers/block/mars/lib_limiter.c new

Please review: generic brick framework + first application: asynchronous block device replication

2014-07-01 Thread Thomas Schoebel-Theuer
Hi together, after almost 20 years, I am happy to be back at the kernel hacker community with a new project called MARS Light (Multiversion Asynchronous Replication System). Its application area is _different_ from DRBD: MARS replicates generic block devices asynchronously over long distances an

[PATCH 17/50] mars: add new file include/linux/brick/lib_limiter.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_limiter.h | 33 + 1 file changed, 33 insertions(+) create mode 100644 include/linux/brick/lib_limiter.h diff --git a/include/linux/brick/lib_limiter.h b/include/linux/brick/lib_limiter.h new file

[PATCH 08/50] mars: add new file include/linux/brick/meta.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/meta.h | 90 ++ 1 file changed, 90 insertions(+) create mode 100644 include/linux/brick/meta.h diff --git a/include/linux/brick/meta.h b/include/linux/brick/meta.h new file mode 100644

[PATCH 05/50] mars: add new file include/linux/brick/brick_mem.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/brick_mem.h | 202 1 file changed, 202 insertions(+) create mode 100644 include/linux/brick/brick_mem.h diff --git a/include/linux/brick/brick_mem.h b/include/linux/brick/brick_mem.h new file

[PATCH 02/50] mars: add new file drivers/block/mars/lamport.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/lamport.c | 48 1 file changed, 48 insertions(+) create mode 100644 drivers/block/mars/lamport.c diff --git a/drivers/block/mars/lamport.c b/drivers/block/mars/lamport.c new file mode

[PATCH 13/50] mars: add new file include/linux/brick/lib_rank.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_rank.h | 119 + 1 file changed, 119 insertions(+) create mode 100644 include/linux/brick/lib_rank.h diff --git a/include/linux/brick/lib_rank.h b/include/linux/brick/lib_rank.h new file

[PATCH 35/50] mars: add new file include/linux/xio/xio_copy.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_copy.h | 99 1 file changed, 99 insertions(+) create mode 100644 include/linux/xio/xio_copy.h diff --git a/include/linux/xio/xio_copy.h b/include/linux/xio/xio_copy.h new file mode

[PATCH 30/50] mars: add new file drivers/block/mars/xio_bricks/xio_aio.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_aio.c | 1224 +++ 1 file changed, 1224 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_aio.c diff --git a/drivers/block/mars/xio_bricks/xio_aio.c b/drivers/block/mars

[PATCH 06/50] mars: add new file drivers/block/mars/brick_mem.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/brick_mem.c | 1081 1 file changed, 1081 insertions(+) create mode 100644 drivers/block/mars/brick_mem.c diff --git a/drivers/block/mars/brick_mem.c b/drivers/block/mars/brick_mem.c new file

[PATCH 43/50] mars: add new file drivers/block/mars/xio_bricks/xio_server.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_server.c | 801 + 1 file changed, 801 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_server.c diff --git a/drivers/block/mars/xio_bricks/xio_server.c b/drivers/block

[PATCH 12/50] mars: add new file include/linux/brick/lib_queue.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_queue.h | 146 1 file changed, 146 insertions(+) create mode 100644 include/linux/brick/lib_queue.h diff --git a/include/linux/brick/lib_queue.h b/include/linux/brick/lib_queue.h new file

[PATCH 01/50] mars: add new file include/linux/brick/lamport.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lamport.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 include/linux/brick/lamport.h diff --git a/include/linux/brick/lamport.h b/include/linux/brick/lamport.h new file mode 100644 index 000..f567eee

[PATCH 25/50] mars: add new file include/linux/lib_log.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/lib_log.h | 314 1 file changed, 314 insertions(+) create mode 100644 include/linux/lib_log.h diff --git a/include/linux/lib_log.h b/include/linux/lib_log.h new file mode 100644 index

[PATCH 24/50] mars: add new file drivers/block/mars/xio_bricks/lib_mapfree.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/lib_mapfree.c | 356 1 file changed, 356 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/lib_mapfree.c diff --git a/drivers/block/mars/xio_bricks/lib_mapfree.c b/drivers/block

[PATCH 29/50] mars: add new file include/linux/xio/xio_aio.h

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/xio/xio_aio.h | 96 + 1 file changed, 96 insertions(+) create mode 100644 include/linux/xio/xio_aio.h diff --git a/include/linux/xio/xio_aio.h b/include/linux/xio/xio_aio.h new file mode 100644

[PATCH 22/50] mars: add new file drivers/block/mars/xio_bricks/xio_net.c

2014-07-01 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/block/mars/xio_bricks/xio_net.c | 1445 +++ 1 file changed, 1445 insertions(+) create mode 100644 drivers/block/mars/xio_bricks/xio_net.c diff --git a/drivers/block/mars/xio_bricks/xio_net.c b/drivers/block/mars

Re: [PATCH 49/50] mars: generic pre-patch for mars

2014-07-02 Thread Thomas Schoebel-Theuer
for some years). It would be great if I just could make the exports of sys_* explicitly. Thanks and cheers, Thomas On 07/02/2014 12:36 AM, Greg KH wrote: > On Tue, Jul 01, 2014 at 11:47:29PM +0200, Thomas Schoebel-Theuer wrote: >> From: Thomas Schoebel-Theuer >> >> Most

Re: [PATCH 49/50] mars: generic pre-patch for mars

2014-07-02 Thread Thomas Schoebel-Theuer
> Maintaining out of tree code is not our problem, sorry. thanks, greg k-h OK, I just noticed that in the meantime many vfs_*() are present now which were missing when I started the project on very old kernels (or maybe I missed something, sorry for any potential mistakes). So I will happily mak

Re: Selling Points for MARS Light

2014-07-04 Thread Thomas Schoebel-Theuer
> We are interested in the real low level design ideas. i.e. Why do you need all syscalls exported? OK, simple question, simple first-order answer, more complicated second-order answer. First-order answer: Exporting all syscalls was a mistake made by me. It's not needed. Only a handful is really

[RFC 10/31] mars: add new module lib_limiter

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/lib/lib_limiter.c | 129 + include/linux/brick/lib_limiter.h | 49 + 2 files changed, 178 insertions(+) create mode 100644 drivers/staging/mars/lib/lib_limiter.c create mode 100644

[RFC 30/31] mars: add new module Kconfig

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/Kconfig | 266 +++ 1 file changed, 266 insertions(+) create mode 100644 drivers/staging/mars/Kconfig diff --git a/drivers/staging/mars/Kconfig b/drivers/staging/mars/Kconfig new file mode

[RFC 31/31] mars: activate build

2015-12-31 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer --- drivers/staging/Kconfig | 2 ++ drivers/staging/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 5d3b86a..bbccc4f 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -56,6

[RFC 03/31] mars: add new module brick_mem

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/brick_mem.c | 1081 ++ include/linux/brick/brick_mem.h | 218 2 files changed, 1299 insertions(+) create mode 100644 drivers/staging/mars/brick_mem.c create mode 100644 include/linux

[RFC 00/31] Current state of MARS

2015-12-31 Thread Thomas Schoebel-Theuer
and advise from some interested kernel hackers. Cheers and a happy new year, Thomas [1] https://github.com/schoebel/mars [2] https://github.com/schoebel/mars/blob/master/docu/MARS_Froscon2015.pdf [3] https://github.com/schoebel/mars/blob/master/docu/mars-manual.pdf Thomas Schoebel-Theuer (31):

[RFC 07/31] mars: add new module lib_pairing_heap

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_pairing_heap.h | 110 + 1 file changed, 110 insertions(+) create mode 100644 include/linux/brick/lib_pairing_heap.h diff --git a/include/linux/brick/lib_pairing_heap.h b/include/linux/brick

[RFC 12/31] mars: add new module vfs_compat

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/vfs_compat.h | 45 1 file changed, 45 insertions(+) create mode 100644 include/linux/brick/vfs_compat.h diff --git a/include/linux/brick/vfs_compat.h b/include/linux/brick/vfs_compat.h new

[RFC 09/31] mars: add new module lib_rank

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/lib/lib_rank.c | 87 +++ include/linux/brick/lib_rank.h | 135 2 files changed, 222 insertions(+) create mode 100644 drivers/staging/mars/lib/lib_rank.c create mode

[RFC 21/31] mars: add new module xio_copy

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_copy.c | 1005 include/linux/xio/xio_copy.h | 115 2 files changed, 1120 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_copy.c create mode 100644

[RFC 20/31] mars: add new module xio_if

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_if.c | 961 +++ include/linux/xio/xio_if.h | 108 2 files changed, 1069 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_if.c create mode 100644

[RFC 22/31] mars: add new module xio_trans_logger

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_trans_logger.c | 3309 include/linux/xio/xio_trans_logger.h | 263 ++ 2 files changed, 3572 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_trans_logger.c

[RFC 24/31] mars: add new module light_strategy

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars_light/light_strategy.c | 2132 ++ include/linux/mars_light/light_strategy.h| 236 +++ 2 files changed, 2368 insertions(+) create mode 100644 drivers/staging/mars/mars_light/light_strategy.c create

[RFC 02/31] mars: add new module brick_say

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/brick_say.c | 916 +++ include/linux/brick/brick_say.h | 96 2 files changed, 1012 insertions(+) create mode 100644 drivers/staging/mars/brick_say.c create mode 100644 include/linux/brick

[RFC 23/31] mars: add new module xio_server

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_server.c | 486 +++ include/linux/xio/xio_server.h | 91 + 2 files changed, 577 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_server.c create mode

[RFC 25/31] mars: add new module light_net

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars_light/light_net.c | 109 1 file changed, 109 insertions(+) create mode 100644 drivers/staging/mars/mars_light/light_net.c diff --git a/drivers/staging/mars/mars_light/light_net.c b/drivers/staging

[RFC 05/31] mars: add new module meta

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/meta.h | 106 + 1 file changed, 106 insertions(+) create mode 100644 include/linux/brick/meta.h diff --git a/include/linux/brick/meta.h b/include/linux/brick/meta.h new file mode 100644

[RFC 18/31] mars: add new module xio_sio

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_sio.c | 571 ++ include/linux/xio/xio_sio.h | 68 2 files changed, 639 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_sio.c create mode 100644

[RFC 14/31] mars: add new module xio_net

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_net.c | 1830 + include/linux/xio/xio_net.h | 171 +++ 2 files changed, 2001 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_net.c create mode 100644

[RFC 16/31] mars: add new module lib_log

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/lib_log.c | 505 ++ include/linux/xio/lib_log.h | 329 +++ 2 files changed, 834 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/lib_log.c create

[RFC 01/31] mars: add new module lamport

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/lamport.c | 61 ++ include/linux/brick/lamport.h | 26 ++ 2 files changed, 87 insertions(+) create mode 100644 drivers/staging/mars/lamport.c create mode 100644 include/linux

[RFC 26/31] mars: add new module light_server_strategy

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- .../mars/mars_light/light_server_strategy.c| 403 + 1 file changed, 403 insertions(+) create mode 100644 drivers/staging/mars/mars_light/light_server_strategy.c diff --git a/drivers/staging/mars/mars_light

[RFC 15/31] mars: add new module lib_mapfree

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/lib_mapfree.c | 380 ++ include/linux/xio/lib_mapfree.h | 84 ++ 2 files changed, 464 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/lib_mapfree.c create mode

[RFC 17/31] mars: add new module xio_bio

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_bio.c | 845 ++ include/linux/xio/xio_bio.h | 85 +++ 2 files changed, 930 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_bio.c create mode 100644

[RFC 19/31] mars: add new module xio_client

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio_client.c | 1055 ++ include/linux/xio/xio_client.h | 105 +++ 2 files changed, 1160 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio_client.c create mode

[RFC 27/31] mars: add new module mars_proc

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars_light/mars_proc.c | 369 include/linux/mars_light/mars_proc.h| 34 +++ 2 files changed, 403 insertions(+) create mode 100644 drivers/staging/mars/mars_light/mars_proc.c create mode 100644

[RFC 29/31] mars: add new module Makefile

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/Makefile | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 drivers/staging/mars/Makefile diff --git a/drivers/staging/mars/Makefile b/drivers/staging/mars/Makefile new file mode

[RFC 06/31] mars: add new module brick

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/brick.c | 728 +++ include/linux/brick/brick.h | 642 ++ 2 files changed, 1370 insertions(+) create mode 100644 drivers/staging/mars/brick.c create mode

[RFC 13/31] mars: add new module xio

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/xio.c | 161 + include/linux/xio/xio.h | 313 ++ 2 files changed, 474 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/xio.c create mode

[RFC 08/31] mars: add new module lib_queue

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/lib_queue.h | 166 1 file changed, 166 insertions(+) create mode 100644 include/linux/brick/lib_queue.h diff --git a/include/linux/brick/lib_queue.h b/include/linux/brick/lib_queue.h new file

[RFC 11/31] mars: add new module lib_timing

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/lib/lib_timing.c | 71 + include/linux/brick/lib_timing.h | 181 ++ 2 files changed, 252 insertions(+) create mode 100644 drivers/staging/mars/lib/lib_timing.c create mode 100644

[RFC 04/31] mars: add new module brick_checking

2015-12-31 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/brick_checking.h | 104 +++ 1 file changed, 104 insertions(+) create mode 100644 include/linux/brick/brick_checking.h diff --git a/include/linux/brick/brick_checking.h b/include/linux/brick

[PATCH] sched/wait: fix endless kthread loop at timeout

2019-07-29 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer Scenario, possible since kernel 4.11.x and later: 1) kthread calls a waiting function with a timeout, and blocks. 2) kthread_stop() is called by somebody else. 3) The waiting condition does not change for a long time. 4) Nothing happens => normally the timeout wo

Re: [RFC 00/32] State of MARS Reo-Redundancy Module

2016-12-30 Thread Thomas Schoebel-Theuer
Typo correction: On 12/30/2016 11:57 PM, Thomas Schoebel-Theuer wrote: standalone servers with local hardware RAIDs. They are hosting about 500 MARS resources (originally DRBD resources) just for the web servers; This must read 2500. Somehow the leading "2" was eaten at wraparound.

[RFC 24/32] mars: add new module strategy

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars/strategy.h | 239 +++ 1 file changed, 239 insertions(+) create mode 100644 drivers/staging/mars/mars/strategy.h diff --git a/drivers/staging/mars/mars/strategy.h b/drivers/staging/mars/mars

[RFC 16/32] mars: add new module lib_log

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/lib_log.c | 506 ++ include/linux/xio/lib_log.h | 333 2 files changed, 839 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/lib_log.c create

[RFC 25/32] mars: add new module main_strategy

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars/main_strategy.c | 2135 + 1 file changed, 2135 insertions(+) create mode 100644 drivers/staging/mars/mars/main_strategy.c diff --git a/drivers/staging/mars/mars/main_strategy.c b/drivers/staging

[RFC 27/32] mars: add new module server_strategy

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/mars/server_strategy.c | 436 1 file changed, 436 insertions(+) create mode 100644 drivers/staging/mars/mars/server_strategy.c diff --git a/drivers/staging/mars/mars/server_strategy.c b/drivers/staging

[RFC 30/32] mars: add new module Makefile

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/Makefile | 96 +++ 1 file changed, 96 insertions(+) create mode 100644 drivers/staging/mars/Makefile diff --git a/drivers/staging/mars/Makefile b/drivers/staging/mars/Makefile new file mode

[RFC 15/32] mars: add new module lib_mapfree

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- drivers/staging/mars/xio_bricks/lib_mapfree.c | 382 ++ include/linux/xio/lib_mapfree.h | 84 ++ 2 files changed, 466 insertions(+) create mode 100644 drivers/staging/mars/xio_bricks/lib_mapfree.c create mode

[RFC 32/32] mars: activate build

2016-12-30 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer --- drivers/staging/Kconfig | 2 ++ drivers/staging/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 5d3b86a33857..bbccc4f0ebbe 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig

[RFC 12/32] mars: add new module vfs_compat

2016-12-30 Thread Thomas Schoebel-Theuer
Signed-off-by: Thomas Schoebel-Theuer --- include/linux/brick/vfs_compat.h | 48 1 file changed, 48 insertions(+) create mode 100644 include/linux/brick/vfs_compat.h diff --git a/include/linux/brick/vfs_compat.h b/include/linux/brick/vfs_compat.h new

  1   2   >