On function __find_get_block issue.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Here is the file http://
Very strange here
52 */
1353 struct buffer_head *
1354 __find_
1355 {
1356 struct buffer_head *bh = lookup_bh_lru(bdev, block, size);
1357
1358 if (bh == NULL) {
1359 /* __find_
1360 bh = __find_
1361 if (bh)
1362 bh_lru_install(bh);
1363 } else
1364 touch_buffer(bh);
1365
1366 return bh;
1367 }
1368 EXPORT_
struct buffer_head *bh = lookup_bh_lru(bdev, block, size);
*bh is equalized without performing running look_bh_lru and after check for NULL pointer verry strange:
Bellow is content of perf report:
.......
│ mov %edx,%edx
│ ↓ jmp 31
│ 29:┌─→add $0x1,%ecx
│ │ cmp $0x10,%ecx
│ │↓ je 8e
│ 31:│ mov %ecx,%r8d
│ │ mov %gs:0x11080(
│ │ test %rax,%rax
│ │ mov %rax,%rbx
│ │↑ je 29
│ │ cmp 0x18(%rax),%rsi
100,00 │ └──jne 29
│ cmp 0x30(%rax),%rdi
│ ↑ jne 29
│ cmp %rdx,0x20(%rax)
│ ↑ jne 29
│ test %ecx,%ecx
.......
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 20:46:19 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.
This change was made by a bot.