Re: [GIT PULL] sound updates for 4.21

2019-01-04 Thread Azat Khuzhin
> This is unfortunately a known issue with this driver, Takashi and I had > a couple of email threads on this. Even without errors removing the > module doesn't seem to release all resources. I don't like this at all, > and for the Sound Open Firmware (SOF) driver I mandated module > load-unload as

Re: [GIT PULL] sound updates for 4.21

2018-12-31 Thread Azat Khuzhin
> +/* CFL and later models, preferring ASoC when DSP is available */ > +#define IS_CFL_PLUS(pci)\ > + ((pci)->vendor == 0x8086 && \ > +((pci)->device == 0xa348 || \ > + (pci)->device == 0x9dc8 || \ > + (pci)->device == 0x34c8)) > + > static char *driver_s

Re: [PATCH RFC v2 2/2] vfs: add O_NOCMTIME

2015-05-16 Thread Azat Khuzhin
On Fri, May 15, 2015 at 02:23:48PM -0700, Zach Brown wrote: > Add a O_NOCMTIME flag which prevents inode time updates on writes and > can greatly reduce the IO overhead of writes to allocated and > initialized regions of files. > --- a/include/linux/fs.h > +++ b/include/linux/fs.h You may also wa

Re: [PATCH] fs/sync.c : Add CAP_SYS_ADMIN checking before sync

2015-04-16 Thread Azat Khuzhin
On Thu, Apr 16, 2015 at 07:43:34PM +0800, Wuqixuan wrote: > The process, supposed in one container, can't flush the metadata > and data of the all host's partitions without CAP_SYS_ADMIN > capability, like sys_mount is doing. The checking will prevent some > vicious programs impacting IO sequnces o

Re: load average always more then 1 on idle system with dyntick (just after boot)

2015-04-14 Thread Azat Khuzhin
On Tue, Apr 14, 2015 at 11:54:24AM +0200, Peter Zijlstra wrote: > On Tue, Mar 31, 2015 at 10:52:48PM +0300, Azat Khuzhin wrote: > > Hi all, > > > > On one of machines [SUPERMICRO], after installing fresh kernel > > (v4.0-rc5-25-g90a5a89), I noticed that loadavg always

Re: load average always more then 1 on idle system with dyntick (just after boot)

2015-04-14 Thread Azat Khuzhin
On Tue, Mar 31, 2015 at 10:52:48PM +0300, Azat Khuzhin wrote: > Hi all, > > On one of machines [SUPERMICRO], after installing fresh kernel > (v4.0-rc5-25-g90a5a89), I noticed that loadavg always greater then 1. Still got the same for v4.0-2620-gb79013b. Cheers, Azat. -- To unsubscri

Re: [PATCH vfs 1/2] lib: implement ptrset

2014-11-18 Thread Azat Khuzhin
On Thu, Nov 13, 2014 at 05:09:27PM -0500, Tejun Heo wrote: > +int ptrset_add(void *ptr, struct ptrset *set, gfp_t gfp) > +{ > + struct ptrset_elem *elem; > + struct rb_node *parent, **slot; > + > + elem = kmalloc(sizeof(*elem), gfp); > + if (!elem && !in_interrupt()) /* see ptrset

Re: [PATCH 07/13] vfs: add RENAME_WHITEOUT

2014-05-24 Thread Azat Khuzhin
ere is no need in duplicating of WHITEOUT_{MODE,DEV} Thanks. > + > +/* > * This is the Inode Attributes structure, used for notify_change(). It > * uses the above definitions as flags, to know which values have changed. > * Also, in this manner, a Filesystem can look at

[PATCH] ext4: fix ext4_count_free_clusters() with EXT4FS_DEBUG and bigalloc enabled

2014-04-14 Thread Azat Khuzhin
With bigalloc enabled we must use EXT4_CLUSTERS_PER_GROUP() instead of EXT4_BLOCKS_PER_GROUP() otherwise we will go beyond the allocated buffer. $ mount -t ext4 /dev/vde /vde [ 70.573993] EXT4-fs DEBUG (fs/ext4/mballoc.c, 2346): ext4_mb_alloc_groupinfo: [ 70.575174] allocated s_groupinfo array

[PATCH v4] ext4: initialize multi-block allocator before checking block descriptors

2014-04-05 Thread Azat Khuzhin
0 "/dev/loop4") at namespace.c:2586 #14 SyS_mount (dev_name=140715365800992, dir_name=, type=, flags=3236757504, data=0) at namespace.c:2559 Signed-off-by: Azat Khuzhin --- Link: http://marc.info/?l=linux-ext4&m=139493754530149&w=2 v5: initialize number of group desc blocks (s_gdb_count) o

[PATCH v3] ext4: initialize multi-block allocator before checking block descriptors

2014-02-11 Thread Azat Khuzhin
fff811d6183 in SYSC_mount (data=0x0 , flags=3236757504, type=, dir_name=, dev_name=0x7ffad9649c20 "/dev/loop4") at namespace.c:2586 #14 SyS_mount (dev_name=140715365800992, dir_name=, type=, flags=3236757504, data=0) at namespace.c:2559 Signed-off-by: Azat Khuzhin --- v2: ext

[PATCH] ext4: initialize multi-block allocator before checking block descriptors

2014-02-10 Thread Azat Khuzhin
space.c:2392 #13 0x811d6183 in SYSC_mount (data=0x0 , flags=3236757504, type=, dir_name=, dev_name=0x7ffad9649c20 "/dev/loop4") at namespace.c:2586 #14 SyS_mount (dev_name=140715365800992, dir_name=, type=, flags=3236757504, data=0) at namespace.c:2559 Signed-off-by:

[tip:perf/urgent] perf probe: Add '--demangle'/'--no-demangle'

2013-11-14 Thread tip-bot for Azat Khuzhin
Commit-ID: 35e17b2450e09968f9702d4048c228199af171bc Gitweb: http://git.kernel.org/tip/35e17b2450e09968f9702d4048c228199af171bc Author: Azat Khuzhin AuthorDate: Mon, 28 Oct 2013 12:04:24 +0400 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Nov 2013 16:06:28 -0300 perf probe

Re: [PATCH] ext4: drop unsed reclen variable from ext4_add_dirent_to_inline()

2013-10-30 Thread Azat Khuzhin
On Wed, Oct 30, 2013 at 6:55 PM, Theodore Ts'o wrote: > On Thu, Sep 19, 2013 at 12:17:30AM +0400, Azat Khuzhin wrote: >> Functions that need in it, already calculate reclen from namelen by >> themselves: >> - ext4_find_dest_de() >> - ext4_insert_dentry() &

[PATCH] perf probe: add '--demangle'/'--no-demangle'

2013-10-28 Thread Azat Khuzhin
true): ./perf probe -f -x /tmp/a.out _Z3fooi no symbols found in /tmp/a.out, maybe install a debug package? However: nm /tmp/a.out | grep foo 0040056d T _Z3fooi After this patch, using the next command: ./perf probe -f --no-demangle -x /tmp/a.out _Z3fooi probe will be successfully added

Re: kprobe: "BUG: unable to handle kernel paging request"

2013-10-26 Thread Azat Khuzhin
On Sat, Oct 26, 2013 at 1:01 AM, Azat Khuzhin wrote: > With some kernel's configuration there is such messages in dmesg in > different places while using kprobes. > > I investigated this and founded that it reproduced with > https://gist.github.com/azat/7078890#file-config-

kprobe: "BUG: unable to handle kernel paging request"

2013-10-25 Thread Azat Khuzhin
help, please let me know! Thanks! -- Respectfully Azat Khuzhin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at htt

Re: adjust /proc/PID/oom_score_adj with CAP_SYS_RESOURCE

2013-10-20 Thread Azat Khuzhin
On Sun, Oct 20, 2013 at 12:33 AM, Azat Khuzhin wrote: > Recently I needed in adjusting /proc/PID/oom_score_adj to disable oom killer, > but I didn't want to add suid/or run from root that binary. > > I decided to use CAP_SYS_RESOURCE. However it didn't work. > > I

adjust /proc/PID/oom_score_adj with CAP_SYS_RESOURCE

2013-10-19 Thread Azat Khuzhin
do this without suid/root? Thanks! -- Respectfully Azat Khuzhin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] ext4: drop unsed reclen variable from ext4_add_dirent_to_inline()

2013-09-18 Thread Azat Khuzhin
Functions that need in it, already calculate reclen from namelen by themselves: - ext4_find_dest_de() - ext4_insert_dentry() Signed-off-by: Azat Khuzhin --- fs/ext4/inline.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index d9ecbf1..809f285 100644

Re: [PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-10 Thread Azat Khuzhin
On Tue, Sep 10, 2013 at 5:15 PM, Wang Shilong wrote: >> On Mon, Sep 9, 2013 at 7:28 AM, Wang Shilong >> wrote: >>> On 09/08/2013 12:15 AM, Azat Khuzhin wrote: >>>> >>>> Signed-off-by: Azat Khuzhin >>>> --- >>>> fs/btrfs

Re: [PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-10 Thread Azat Khuzhin
On Mon, Sep 9, 2013 at 7:28 AM, Wang Shilong wrote: > On 09/08/2013 12:15 AM, Azat Khuzhin wrote: >> >> Signed-off-by: Azat Khuzhin >> --- >> fs/btrfs/volumes.c |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/fs/

[PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-07 Thread Azat Khuzhin
Signed-off-by: Azat Khuzhin --- fs/btrfs/volumes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 1d1b595..124228e 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -644,7 +644,7 @@ static int __btrfs_close_devices

[PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-09-01 Thread Azat Khuzhin
ult may happen. } Signed-off-by: Azat Khuzhin Reviewed-by: Miao Xie --- V2: Add some comments from Miao into commit message fs/btrfs/volumes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volume

Re: [PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-08-30 Thread Azat Khuzhin
On Tue, Jul 30, 2013 at 7:40 AM, Miao Xie wrote: > On mon, 29 Jul 2013 11:48:32 +0400, Azat Khuzhin wrote: >> On Sat, Jul 27, 2013 at 2:12 PM, Azat Khuzhin wrote: >>> Replace list_for_each_entry() by list_for_each_entry_safe() in >>> __btrfs_close_devices() >>

Re: [PATCH] mm: for shm_open()/mmap() with OVERCOMMIT_NEVER, return -1 if no memory avail

2013-07-31 Thread Azat Khuzhin
On Wed, Jul 31, 2013 at 10:32 AM, Hugh Dickins wrote: > On Tue, 30 Jul 2013, Azat Khuzhin wrote: > >> Otherwize if there is no left space on shmem device, there will be >> "Bus error" when application will try to write to address space that was >> returne

[PATCH] mm: for shm_open()/mmap() with OVERCOMMIT_NEVER, return -1 if no memory avail

2013-07-30 Thread Azat Khuzhin
te() killed by SIGBUS Signed-off-by: Azat Khuzhin --- mm/shmem.c | 16 1 file changed, 16 insertions(+) diff --git a/mm/shmem.c b/mm/shmem.c index a87990c..965f4ba 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -32,6 +32,8 @@ #include #include #include +#include +#in

Re: [PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-07-29 Thread Azat Khuzhin
On Sat, Jul 27, 2013 at 2:12 PM, Azat Khuzhin wrote: > Replace list_for_each_entry() by list_for_each_entry_safe() in > __btrfs_close_devices() > > There is another place that delete items lock_stripe_add(), but there we > don't need safe version, because after deleti

[PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-07-27 Thread Azat Khuzhin
Replace list_for_each_entry() by list_for_each_entry_safe() in __btrfs_close_devices() There is another place that delete items lock_stripe_add(), but there we don't need safe version, because after deleting we exit from loop. Signed-off-by: Azat Khuzhin --- fs/btrfs/volumes.c |4 ++

[PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-07-26 Thread Azat Khuzhin
Replace list_for_each_entry() by list_for_each_entry_safe() in next functions: - lock_stripe_add() - __btrfs_close_devices() Signed-off-by: Azat Khuzhin --- fs/btrfs/raid56.c |4 ++-- fs/btrfs/volumes.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/btrfs

Re: [git pull] drm merge for 3.9-rc1

2013-03-03 Thread Azat Khuzhin
Linus > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Respectfully Azat Khuzhin Primary email a3at.m...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Azat Khuzhin
gt; On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: >> > > On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: >> > > > On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: >> > > > > On Tue, Nov 06, 2012 at 04:42:24PM +0400, A

Re: ACPI errors with 3.7-rc3

2012-12-01 Thread Azat Khuzhin
Update: laptop don't resume working not only after a long time held in suspend, but also after a short period of time for example 3 minutes. As for a long time - it about 24-36 hours. On Sun, Dec 2, 2012 at 12:59 AM, Azat Khuzhin wrote: > I tried this patch - https://bugzilla.ke

Re: ACPI errors with 3.7-rc3

2012-12-01 Thread Azat Khuzhin
doesn't cause conflicts with > what the OS is doing. > >> >> - Feng >> >>> >>> >>>> -Original Message- >>>> From: Tang, Feng >>>> Sent: Friday, November 09, 2012 1:29 AM >>>> To: Rafael J. Wysocki >

Re: ACPI errors with 3.7-rc3

2012-11-14 Thread Azat Khuzhin
it is the > actual memory location of the lock. The FACS and Global Lock may be located > anywhere in physical memory. > > > > >> -Original Message- >> From: a3at.m...@gmail.com [mailto:a3at.m...@gmail.com] On Behalf Of Azat >> Khuzhin >> Sent: Sun

Re: macbook pro 9.2 stat/ata bus error

2012-11-11 Thread Azat Khuzhin
think that because of it can't read from HDD. Am I right? What can I do next to investigate further? On Sat, Nov 10, 2012 at 5:22 PM, Azat Khuzhin wrote: > Yeah, I'm guessed about this. > Thanks for reply. > > On Fri, Nov 9, 2012 at 7:48 AM, Robert Hancock wrote: >

Re: ACPI errors with 3.7-rc3

2012-11-11 Thread Azat Khuzhin
>> -Original Message- >> From: Tang, Feng >> Sent: Friday, November 09, 2012 8:36 AM >> To: Moore, Robert >> Cc: Rafael J. Wysocki; Greg KH; Azat Khuzhin; linux-a...@vger.kernel.org; >> Linux Kernel Mailing List; Zheng, Lv; Len Brown >> Subject: Re: A

Re: macbook pro 9.2 stat/ata bus error

2012-11-10 Thread Azat Khuzhin
Yeah, I'm guessed about this. Thanks for reply. On Fri, Nov 9, 2012 at 7:48 AM, Robert Hancock wrote: > On 11/06/2012 09:41 PM, Azat Khuzhin wrote: >> >> Anybody? >> >> On Mon, Nov 5, 2012 at 7:28 PM, Azat Khuzhin >> wrote: >>> >>> After

Re: ACPI errors with 3.7-rc3

2012-11-08 Thread Azat Khuzhin
Greg KH wrote: >> > On Tue, Nov 06, 2012 at 04:42:24PM +0400, Azat Khuzhin wrote: >> > > I'v also have such errors on my macbook pro. >> > > >> > > $ dmesg | tail >> > > [17056.008564] ACPI Error: Method parse/execution failed >> >

Re: macbook pro 9.2 stat/ata bus error

2012-11-06 Thread Azat Khuzhin
Also I want to note that some times notebook was suspended. But this errors don't appears every time before suspend or just after resume. On Wed, Nov 7, 2012 at 7:41 AM, Azat Khuzhin wrote: > Anybody? > > On Mon, Nov 5, 2012 at 7:28 PM, Azat Khuzhin wrote: >> After install

Re: macbook pro 9.2 stat/ata bus error

2012-11-06 Thread Azat Khuzhin
Anybody? On Mon, Nov 5, 2012 at 7:28 PM, Azat Khuzhin wrote: > After installing linux on macbook 9.2 (mid 2012), I have next errors > in dmesg log: > > [ 389.623828] EXT4-fs (sda4): re-mounted. Opts: > errors=remount-ro,data=ordered,commit=600 > [ 410.038465] NMI watchdog: e

Re: ACPI errors with 3.7-rc3

2012-11-06 Thread Azat Khuzhin
When this messages appears, I was running from AC, not from battery. On Tue, Nov 6, 2012 at 4:48 PM, Greg KH wrote: > On Tue, Nov 06, 2012 at 04:42:24PM +0400, Azat Khuzhin wrote: >> I'v also have such errors on my macbook pro. >> >> $ dmesg | tail >> [17056.

Re: ACPI errors with 3.7-rc3

2012-11-06 Thread Azat Khuzhin
got > changed. And now I can't duplicate it at all, 3.7-rc3 works fine. Ick, > sorry for the noise, I don't know what happened. If I see the above > errors again, I'll let you know, and I'll also check the ec module > parameter first to ensure it didn't change f

Re: western digital caviar black. EXT4-fs error

2012-09-04 Thread Azat Khuzhin
Ted, Thanks! It fix my problem. On Wed, Sep 5, 2012 at 12:37 AM, Azat Khuzhin wrote: > Ted, many thanks! > I'll try to compile new kernel (maybe 3.4.x) > > On Tue, Sep 4, 2012 at 7:15 AM, Theodore Ts'o wrote: >> On Sat, Sep 01, 2012 at 11:48:17PM +0400, Azat Khuzhin

Re: high load average in linux-3.6

2012-09-04 Thread Azat Khuzhin
Can anybody say is this fixed or not? Or maybe you need more information? Thanks. On Fri, Aug 17, 2012 at 1:10 AM, Azat Khuzhin wrote: > Hi all. > > After updating to linux-v3.6-rc1-315-g3c31a6e I noticed that load avg > is too high for "current" CPU usage & IO activi

Re: western digital caviar black. EXT4-fs error

2012-09-04 Thread Azat Khuzhin
Ted, many thanks! I'll try to compile new kernel (maybe 3.4.x) On Tue, Sep 4, 2012 at 7:15 AM, Theodore Ts'o wrote: > On Sat, Sep 01, 2012 at 11:48:17PM +0400, Azat Khuzhin wrote: >> Recently I update my HDD on desktop machine, and bought WD Caviar Black. >> But after I

Re: western digital caviar black. EXT4-fs error

2012-09-03 Thread Azat Khuzhin
Anybody? On Sat, Sep 1, 2012 at 11:53 PM, Azat Khuzhin wrote: > I'v also post question here > > http://serverfault.com/questions/423565/western-digital-caviar-black-ext4-fs-error > > On Sat, Sep 1, 2012 at 11:48 PM, Azat Khuzhin wrote: >> Recently I update my HDD on d

Re: western digital caviar black. EXT4-fs error

2012-09-01 Thread Azat Khuzhin
I'v also post question here http://serverfault.com/questions/423565/western-digital-caviar-black-ext4-fs-error On Sat, Sep 1, 2012 at 11:48 PM, Azat Khuzhin wrote: > Recently I update my HDD on desktop machine, and bought WD Caviar Black. > But after I format & copy information

western digital caviar black. EXT4-fs error

2012-09-01 Thread Azat Khuzhin
tributive: Debian wheezy -- Azat Khuzhin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

high load average in linux-3.6

2012-08-16 Thread Azat Khuzhin
When I 3.3.0 I did not notice such situation. I'v trying to set kernel cmd line to "i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1" like here https://bugs.archlinux.org/task/29850 But this doesn't helps. -- Azat Khuzhin -- To unsub