Re: [lustre-devel] staging: lustre: One function call less in class_register_type() after error detection

2016-07-29 Thread SF Markus Elfring
> In typical deployments outside of testing environment, this function is > called 5 times every system boot and never again. Does this information mean that a bit more fine-tuning is insignificant at such a source code place? >> Did the assignment for the local variable "rc" with a well-known e

[PATCH] staging: ion: remove __GFP_NOWARN when use low order gfp flags

2016-07-29 Thread Chen Feng
It's useful to show the current memory in detail when alloc failed. And, there may be a lot of high order alloc failed, just show memory when an order 0 alloc failed. Signed-off-by: Chen Feng --- drivers/staging/android/ion/ion_system_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 33/33] Staging: android: ion: ion.c: Compression of lines for

2016-07-29 Thread Joe Perches
On Fri, 2016-07-29 at 14:06 -0700, Nadim almas wrote: > This patch compresses two lines in to a single line in file rtw_android.c > if immediate return statement is found. It also removes variable  > bytes_written as it is no longer needed. > > It is done using script Coccinelle. And coccinelle us

[PATCH 33/33] Staging: android: ion: ion.c: Compression of lines for

2016-07-29 Thread Nadim almas
This patch compresses two lines in to a single line in file rtw_android.c if immediate return statement is found. It also removes variable bytes_written as it is no longer needed. It is done using script Coccinelle. And coccinelle uses following semantic patch for this compression function: @@

Re: [lustre-devel] staging: lustre: One function call less in class_register_type() after error detection

2016-07-29 Thread Oleg Drokin
On Jul 28, 2016, at 1:53 AM, SF Markus Elfring wrote: >> This function is called several times during lustre module insert. >> Namely it's called 5 times for 5 types: >> osc, mdc, lov, lmv, mgc. > > Will any extra memory accesses matter for the successful execution > in this use case? I doubt i

Re: [PATCH 0/3] Drivers: hv: vmbus: Some miscellaneous fixes

2016-07-29 Thread Greg KH
On Fri, Jul 29, 2016 at 04:25:09PM +0200, Vitaly Kuznetsov wrote: > "K. Y. Srinivasan" writes: > > > Some miscellaneous fixes. > > > > Vitaly Kuznetsov (3): > > Drivers: hv: avoid vfree() on crash > > Drivers: hv: get rid of redundant messagecount in > > create_gpadl_header() > > Driver

Re: [PATCH 0/3] Drivers: hv: vmbus: Some miscellaneous fixes

2016-07-29 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > Some miscellaneous fixes. > > Vitaly Kuznetsov (3): > Drivers: hv: avoid vfree() on crash > Drivers: hv: get rid of redundant messagecount in > create_gpadl_header() > Drivers: hv: don't leak memory in vmbus_establish_gpadl() Greg, K. Y., I'm sorry for the

[PATCH] staging: comedi: adv_pci1760: Do not return EINVAL for CMDF_ROUND_DOWN.

2016-07-29 Thread Phil Turnbull
The CMDF_ROUND_DOWN case falls through and so always returns -EINVAL. Fixes: 14b93bb6bbf0 ("staging: comedi: adv_pci_dio: separate out PCI-1760 support") Signed-off-by: Phil Turnbull --- drivers/staging/comedi/drivers/adv_pci1760.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/sta

GOLD AND ROUGH DIAMONDS FOR SALES - OPPORTUNITY 2016!

2016-07-29 Thread AMADU AMATA
Dear Buyer/Broker, My company is looking for Resellers or Direct Buyers for Gold and Rough Diamonds. We are willing and ready to enter into contract to supply 3ct to 8cts per stone Rough Diamonds and 24k, 999.99% pure gold or 22k, 96.3% gold dust and bars. You can become one of our Resellers or