On function fsnotify issue.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Bellow is content of perf report:
.......
│ ↑ jmpq 1f6 ▒
│40b: cmpq $0x0,0x220(%rdi) ▒
│ mov (%rdx),%rax ▒
│ lea -0x20(%rax),%rbx ▒
│ ↑ jne 78 ▒
│ test %rbx,%rbx ▒
│ ↓ je 433 ▒
│ cmpq $0x0,0xe0(%rax) ▒
100,00 │ ↑ jne 78 ▒
│433: xor %eax,%eax ▒
│ ↑ jmpq 30a ▒
│43a: test %rbx,%rbx ▒
│ ↑ je 361 ▒
│ test %r15d,0x108(%rbx) ▒
│ ↑ jne d8 ▒
│ ↑ jmpq 361 ▒
│455: testb $0x4,0xcce9b6(%rip) ▒
│ ↑ je 185 ▒
│ xor %r11d,%r11d ▒
│ xor %esi,%esi
.......
Here is function file http://
277
278 if (ret && (mask & ALL_FSNOTIFY_
279 goto out;
280
On loop these lines take to long time to bee processed.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0p: asu 3213 F...m pulseaudio
/dev/snd/
CurrentDesktop: MATE
Date: Sat Jun 11 17:26:52 2016
InstallationDate: Installed on 2016-04-29 (43 days ago)
InstallationMedia: Ubuntu-Studio 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
IwConfig:
lo no wireless extensions.
enp1s0 no wireless extensions.
MachineType: Olidata S.p.A. ALABAMA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/08/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: S0101
dmi.board.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: ALABAMA
dmi.product.
dmi.sys.vendor: Olidata S.p.A.
My ideea is to check mask & ALL_FSNOTIFY_ PERM_EVENTS) ) before entering on loop.