[PATCH] fs/dax: Fix pmd vs pte conflict detection
by Dan Williams
Check for NULL entries before checking the entry order, otherwise NULL
is misinterpreted as a present pte conflict. The 'order' check needs to
happen before the locked check as an unlocked entry at the wrong order
must fallback to lookup the correct order.
Reported-by: Jeff Smits <jeff.smits(a)intel.com>
Reported-by: Doug Nelson <doug.nelson(a)intel.com>
Cc: <stable(a)vger.kernel.org>
Fixes: 23c84eb78375 ("dax: Fix missed wakeup with PMD faults")
Cc: Jan Kara <jack(a)suse.cz>
Cc: Matthew Wilcox (Oracle) <willy(a)infradead.org>
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
---
fs/dax.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/dax.c b/fs/dax.c
index a71881e77204..08160011d94c 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -221,10 +221,11 @@ static void *get_unlocked_entry(struct xa_state *xas, unsigned int order)
for (;;) {
entry = xas_find_conflict(xas);
+ if (!entry || WARN_ON_ONCE(!xa_is_value(entry)))
+ return entry;
if (dax_entry_order(entry) < order)
return XA_RETRY_ENTRY;
- if (!entry || WARN_ON_ONCE(!xa_is_value(entry)) ||
- !dax_is_locked(entry))
+ if (!dax_is_locked(entry))
return entry;
wq = dax_entry_waitqueue(xas, entry, &ewait.key);
1 year, 4 months
[PATCH] acpi/nfit: unlock on error in scrub_show()
by Dan Carpenter
We change the locking in this function and forgot to update this error
path so we are accidentally still holding the "dev->lockdep_mutex".
Fixes: 87a30e1f05d7 ("driver-core, libnvdimm: Let device subsystems add local lockdep coverage")
Signed-off-by: Dan Carpenter <dan.carpenter(a)oracle.com>
---
drivers/acpi/nfit/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c
index 1413324982f0..14e68f202f81 100644
--- a/drivers/acpi/nfit/core.c
+++ b/drivers/acpi/nfit/core.c
@@ -1322,7 +1322,7 @@ static ssize_t scrub_show(struct device *dev,
nfit_device_lock(dev);
nd_desc = dev_get_drvdata(dev);
if (!nd_desc) {
- device_unlock(dev);
+ nfit_device_unlock(dev);
return rc;
}
acpi_desc = to_acpi_desc(nd_desc);
--
2.20.1
1 year, 4 months
Director Finance & Investment
by Dr Saleem Ahmed
Good Day,
I am Dr Saleem Ahmed Saleef from A UAE Based Investment Group. We are expanding our global presence by investing in projects/investments outside the United Arab Emirates in the form of debt finance only/Soft Loan.
We grant our funding at a guaranteed 3% interest per Annum for projects 2 years term above to 15years, We have the financial capacity to fund projects/investments between $500,000 -$4.5 Billion USD as loan, so if you have any viable project,business and interested in us funding it as loan, i'll be happy to have your response in my email so i can forward the funding application form and procedure for your review and follow up.
Waiting for your mail for further details and discussion so as to proceed.
Shukran and Allah Bless.
Dr Saleem Ahmed Saleef
Director Finance & Investment
Al Nakheel P.O.Box 5662,Ras Al Khaimah,United Arab Emirates
1 year, 4 months
Мотивация персонала
by Daniela
Эффективное использование методов нематериального мотивирования сотрудников в кризисный период
Дата: 25 октября
В программе :
1. Мотивация сотрудников к работе – зачем руководители обязаны с ней разбираться?
2. Сказки и мифы о мотивации сотрудников компаний.
3. Деньги не решают все….. или почему сотрудники иногда бегут и от большой зарплаты.
6. Разберемся: что действительно важно для ваших сотрудников? 12 ключевых ожиданий от работы.
8. А как относится ваша компания к сотрудникам – как к затратам или как ресурсу? Проводим диагностику.
9. Страшная болезнь "демотивация". Симптомы, причины, последствия и методы лечения.
10. Деньги как стимул, мотив и …. демотиватор.
11. Нематериальная мотивация – хорошо забытое старое и плохо выученное новое.
12. Супермаркет идей нематериального мотивирования. Что из этого ассортимента можно использовать в вашей компании?
13. Западные теории мотивации и наша практика – что мы можем взять себе на заметку?
14. Как использовать корпоративную культуру для мотивации персонала?
15. И как не сделать ее (корпоративную культуру) главным демотиватором?
16. О корпоративных праздниках: когда они выполняют мотивирующую функцию, а когда – просто "деньги на ветер"?
17. Руководитель – главный фактор мотивации или демотивации в компании.
19. "Обратная связь" по результатам работы – самая проблемная зона украинских менеджеров и один из самых эффективных приемов нематериального мотивирования.
20. Секреты грамотной "обратной связи".
21. Типичные ошибки в мотивации сотрудников в украинских компаниях.
22. Индивидуальное планирование карьеры как мощный мотиватор для сотрудников категории "А".
23. Проверяем: а как у нас обстоят дела с лояльностью сотрудников к компании?
25. Разрабатываем рецепт: как повысить мотивацию сотрудников к работе, укрепить их лояльность к компании и при этом не потратить много денег.
26. Подводим итоги – что следует убрать из практики работы компании, чтобы не демотивировать сотрудников.
27. Какие изменения и дополнения нужно внести в работу компании, чтобы в полной мере воспользоваться возможностями нематериального
мотивирования?
За информацией обращаться >
Новости
Читать...
Новости туризма
Читать...
Интернет
Читать...
--
С уважением,
Эвелина Геннадьевна
email-маркетолог
Web: http://kpi4.in.ua/
Вы получили данное письмо, так как подписаны на рассылку. Если письмо попало к Вам по ошибке, Вы можете
Не получать рассылку. или пожаловаться на Spam
List-Unsubscribe from the newsletter or complain about Spam!
1 year, 4 months
[ndctl PATCH v2 00/10] fixes and movability for system-ram mode
by Vishal Verma
v2:
- Change MEM_FIND_ZONE to MEM_GET_ZONE (Dan)
- Remove the verbose race warning from runtime and just point to the man
page (Dan)
- Remove the short option for '--no-movable' (Dan)
This patchset improves the user experience around memory onlining,
specifically the state it is onlined in - movable vs non-movable. It
also adds an option to make the memory non-movable when onlining.
Patches 1-3 perform some preparatory and clean up steps.
Patches 4-6 add a way to determine and display the 'movable' vs
'non-movable' state of memory.
Patches 7-8 attempt to detect a race with memory onlining, and add a
Documentation clarification
Patches 9-10 Add the new --no-movable option to commands that may
online memory.
Vishal Verma (10):
libdaxctl: refactor path construction in op_for_one_memblock()
libdaxctl: refactor memblock_is_online() checks
daxctl/device.c: fix json output omission for reconfigure-device
libdaxctl: add an API to determine if memory is movable
libdaxctl: allow memblock_in_dev() to return an error
daxctl: show a 'movable' attribute in device listings
daxctl: detect races when onlining memory blocks
Documentation: clarify memory movablity for reconfigure-device
libdaxctl: add an API to online memory in a non-movable state
daxctl: add --no-movable option for onlining memory
Documentation/daxctl/daxctl-online-memory.txt | 2 +
.../daxctl/daxctl-reconfigure-device.txt | 24 +-
Documentation/daxctl/movable-options.txt | 9 +
daxctl/device.c | 45 ++-
daxctl/lib/libdaxctl-private.h | 26 ++
daxctl/lib/libdaxctl.c | 277 +++++++++++++-----
daxctl/lib/libdaxctl.sym | 6 +
daxctl/libdaxctl.h | 2 +
util/json.c | 14 +-
9 files changed, 320 insertions(+), 85 deletions(-)
create mode 100644 Documentation/daxctl/movable-options.txt
--
2.20.1
1 year, 4 months
[ndctl PATCH 00/10] fixes and movability for system-ram mode
by Vishal Verma
This patchset improves the user experience around memory onlining,
specifically the state it is onlined in - movable vs non-movable. It
also adds an option to make the memory non-movable when onlining.
Patches 1-3 perform some preparatory and clean up steps.
Patches 4-6 add a way to determine and display the 'movable' vs
'non-movable' state of memory.
Patches 7-8 attempt to detect a race with memory onlining, and add a
Documentation clarification
Patches 9-10 Add the new --no-movable option to commands that may
online memory.
Vishal Verma (10):
libdaxctl: refactor path construction in op_for_one_memblock()
libdaxctl: refactor memblock_is_online() checks
daxctl/device.c: fix json output omission for reconfigure-device
libdaxctl: add an API to determine if memory is movable
libdaxctl: allow memblock_in_dev() to return an error
daxctl: show a 'movable' attribute in device listings
daxctl: detect races when onlining memory blocks
Documentation: clarify memory movablity for reconfigure-device
libdaxctl: add an API to online memory in a non-movable state
daxctl: add --no-movable option for onlining memory
Documentation/daxctl/daxctl-online-memory.txt | 2 +
.../daxctl/daxctl-reconfigure-device.txt | 24 +-
Documentation/daxctl/movable-options.txt | 10 +
daxctl/device.c | 45 ++-
daxctl/lib/libdaxctl-private.h | 26 ++
daxctl/lib/libdaxctl.c | 280 +++++++++++++-----
daxctl/lib/libdaxctl.sym | 6 +
daxctl/libdaxctl.h | 2 +
util/json.c | 14 +-
9 files changed, 324 insertions(+), 85 deletions(-)
create mode 100644 Documentation/daxctl/movable-options.txt
--
2.20.1
1 year, 4 months
[PATCH] ndctl: Use the same align value as original namespace on reconfigure
by Aneesh Kumar K.V
When using reconfigure command to add a `name` to the namespace we end
up updating the align attribute. Avoid this by using the value from
the original namespace. Do this only if we are keeping the namespace mode
same.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar(a)linux.ibm.com>
---
ndctl/namespace.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/ndctl/namespace.c b/ndctl/namespace.c
index 1f212a2b3a9b..24e51bb35ae1 100644
--- a/ndctl/namespace.c
+++ b/ndctl/namespace.c
@@ -596,6 +596,22 @@ static int validate_namespace_options(struct ndctl_region *region,
return -ENXIO;
}
} else {
+
+ /*
+ * If we are tryint to reconfigure with the same namespace mode
+ * Use the align details from the origin namespace. Otherwise
+ * pick the align details from seed namespace
+ */
+ if (ndns && p->mode == ndctl_namespace_get_mode(ndns)) {
+ struct ndctl_pfn *ns_pfn = ndctl_namespace_get_pfn(ndns);
+ struct ndctl_dax *ns_dax = ndctl_namespace_get_dax(ndns);
+ if (ns_pfn)
+ p->align = ndctl_pfn_get_align(ns_pfn);
+ else if (ns_dax)
+ p->align = ndctl_dax_get_align(ns_dax);
+ else
+ p->align = sysconf(_SC_PAGE_SIZE);
+ } else
/*
* Use the seed namespace alignment as the default if we need
* one. If we don't then use PAGE_SIZE so the size_align
--
2.21.0
1 year, 4 months
wish you all the best.
by Elizabeth prosser
I hope this email finds you.
I want to know if you received the last message I sent you?
I really want to hear from you.
wish you all the best.
Elizabeth prosser
I look forward to your response.
1 year, 4 months