Displaying 20 results from an estimated 125 matches for "anon_inod".
Did you mean:
anon_inode
2015 Jul 13
0
[PATCH 1/4] fs/anon_inodes: new interface to create new inode
From: Gioh Kim <gurugio at hanmail.net>
The anon_inodes has already complete interfaces to create manage
many anonymous inodes but don't have interface to get
new inode. Other sub-modules can create anonymous inode
without creating and mounting it's own pseudo filesystem.
Signed-off-by: Gioh Kim <gioh.kim at lge.com>
Acked-by: Rafael Aq...
2016 Mar 11
0
[PATCH v1 03/19] fs/anon_inodes: new interface to create new inode
From: Gioh Kim <gurugio at hanmail.net>
The anon_inodes has already complete interfaces to create manage
many anonymous inodes but don't have interface to get
new inode. Other sub-modules can create anonymous inode
without creating and mounting it's own pseudo filesystem.
Acked-by: Rafael Aquini <aquini at redhat.com>
Signed-off-by: Gio...
2018 Mar 30
1
Issue with a bug with imap-login
...etc/dovecot/ssl/imap.sonic.net.crt
ssl_key = </etc/dovecot/ssl/imap.sonic.net.key
}
protocol pop3 {
ssl_ca = </etc/dovecot/ssl/pop.sonic.net.ca-bundle
ssl_cert = </etc/dovecot/ssl/pop.sonic.net.crt
ssl_key = </etc/dovecot/ssl/pop.sonic.net.key
}
STRACE:
263563 epoll_wait(14<anon_inode:[eventpoll]>, [{EPOLLIN, {u32=2772983280, u64=94500643429872}}], 8, -1) = 1
263563 accept(9<TCP:[0.0.0.0:993]>, {sa_family=AF_INET, sin_port=htons(39552), sin_addr=inet_addr("64.142.18.25")}, [16]) = 18<TCP:[64.142.111.79:993->64.142.18.25:39552]>
263563 fcntl(18<TCP...
2016 Mar 11
1
[PATCH v1 03/19] fs/anon_inodes: new interface to create new inode
On Fri, Mar 11, 2016 at 04:30:07PM +0900, Minchan Kim wrote:
> From: Gioh Kim <gurugio at hanmail.net>
>
> The anon_inodes has already complete interfaces to create manage
> many anonymous inodes but don't have interface to get
> new inode. Other sub-modules can create anonymous inode
> without creating and mounting it's own pseudo filesystem.
IMO that's a bad idea. In case of aio "creatin...
2016 Mar 11
1
[PATCH v1 03/19] fs/anon_inodes: new interface to create new inode
On Fri, Mar 11, 2016 at 04:30:07PM +0900, Minchan Kim wrote:
> From: Gioh Kim <gurugio at hanmail.net>
>
> The anon_inodes has already complete interfaces to create manage
> many anonymous inodes but don't have interface to get
> new inode. Other sub-modules can create anonymous inode
> without creating and mounting it's own pseudo filesystem.
IMO that's a bad idea. In case of aio "creatin...
2015 Jul 13
0
[PATCH 0/4] enable migration of driver pages
...ught there needs a interface to combine driver and kernel compaction.
> This patch adds a generic isolate/migrate/putback callbacks for page
> address-space and a new interface to create anon-inode to manage
> address_space_operation. The zram and GPU, and any other modules can create
> anon_inode and register its own migration method. The kernel compaction can
> call the registered migration when it does compaction.
>
> My GPU driver source is not in-kernel driver so that I apply the interface
> into balloon driver. The balloon driver is already merged
> into the kernel comp...
2019 Sep 05
1
[PATCH 1/8] drm/ttm: turn ttm_bo_device.vma_manager into a pointer
...fd4..34ee5d725faf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -1728,6 +1728,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
r = ttm_bo_device_init(&adev->mman.bdev,
&amdgpu_bo_driver,
adev->ddev->anon_inode->i_mapping,
+ NULL,
adev->need_dma32);
if (r) {
DRM_ERROR("failed initializing buffer object driver(%d).\n", r);
diff --git a/drivers/gpu/drm/drm_vram_mm_helper.c b/drivers/gpu/drm/drm_vram_mm_helper.c
index c911781d6728..56fd1519eb35 100644
--- a/drivers/g...
2019 Sep 05
1
[PATCH 1/8] drm/ttm: turn ttm_bo_device.vma_manager into a pointer
...fd4..34ee5d725faf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -1728,6 +1728,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
r = ttm_bo_device_init(&adev->mman.bdev,
&amdgpu_bo_driver,
adev->ddev->anon_inode->i_mapping,
+ NULL,
adev->need_dma32);
if (r) {
DRM_ERROR("failed initializing buffer object driver(%d).\n", r);
diff --git a/drivers/gpu/drm/drm_vram_mm_helper.c b/drivers/gpu/drm/drm_vram_mm_helper.c
index c911781d6728..56fd1519eb35 100644
--- a/drivers/g...
2019 Sep 05
1
[PATCH 1/8] drm/ttm: turn ttm_bo_device.vma_manager into a pointer
...fd4..34ee5d725faf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -1728,6 +1728,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
r = ttm_bo_device_init(&adev->mman.bdev,
&amdgpu_bo_driver,
adev->ddev->anon_inode->i_mapping,
+ NULL,
adev->need_dma32);
if (r) {
DRM_ERROR("failed initializing buffer object driver(%d).\n", r);
diff --git a/drivers/gpu/drm/drm_vram_mm_helper.c b/drivers/gpu/drm/drm_vram_mm_helper.c
index c911781d6728..56fd1519eb35 100644
--- a/drivers/g...
2015 Jul 13
14
[PATCH 0/4] enable migration of driver pages
...ompaction.
So I thought there needs a interface to combine driver and kernel compaction.
This patch adds a generic isolate/migrate/putback callbacks for page
address-space and a new interface to create anon-inode to manage
address_space_operation. The zram and GPU, and any other modules can create
anon_inode and register its own migration method. The kernel compaction can
call the registered migration when it does compaction.
My GPU driver source is not in-kernel driver so that I apply the interface
into balloon driver. The balloon driver is already merged
into the kernel compaction as a corner-case....
2015 Jul 13
14
[PATCH 0/4] enable migration of driver pages
...ompaction.
So I thought there needs a interface to combine driver and kernel compaction.
This patch adds a generic isolate/migrate/putback callbacks for page
address-space and a new interface to create anon-inode to manage
address_space_operation. The zram and GPU, and any other modules can create
anon_inode and register its own migration method. The kernel compaction can
call the registered migration when it does compaction.
My GPU driver source is not in-kernel driver so that I apply the interface
into balloon driver. The balloon driver is already merged
into the kernel compaction as a corner-case....
2024 Oct 04
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...rs/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> > > @@ -1853,8 +1853,10 @@ int amdgpu_ttm_init(struct amdgpu_device
> > > *adev)
> > > ?? r = ttm_device_init(&adev->mman.bdev, &amdgpu_bo_driver,
> > > adev->dev,
> > > ?? ?????? adev_to_drm(adev)->anon_inode-
> > > > i_mapping,
> > > ?? ?????? adev_to_drm(adev)-
> > > > vma_offset_manager,
> > > - ?????? adev->need_swiotlb,
> > > - ?????? dma_addressing_limited(adev-
> > > >dev));
> > > + ?????? (struct ttm_device_init_...
2024 Oct 05
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...gpu_ttm.c
> > > > @@ -1853,8 +1853,10 @@ int amdgpu_ttm_init(struct amdgpu_device
> > > > *adev)
> > > > ?? r = ttm_device_init(&adev->mman.bdev, &amdgpu_bo_driver,
> > > > adev->dev,
> > > > ?? ?????? adev_to_drm(adev)->anon_inode-
> > > > > i_mapping,
> > > > ?? ?????? adev_to_drm(adev)-
> > > > > vma_offset_manager,
> > > > - ?????? adev->need_swiotlb,
> > > > - ?????? dma_addressing_limited(adev-
> > > > >dev));
> > > >...
2015 Jul 07
12
[RFCv3 0/5] enable migration of driver pages
...ctive.
They are activated by its own interface, /sys, so they are not cooperative
with kernel compaction. If there is too much fragmentation and kernel starts
to compaction, zram and GPU driver cannot work with the kernel compaction.
This patch set combines 5 patches.
1. patch 1/5: get inode from anon_inodes
This patch adds new interface to create inode from anon_inodes.
2. patch 2/5: framework to isolate/migrate/putback page
Add isolatepage, putbackpage into address_space_operations
and wrapper function to call them
3. patch 3/5: apply the framework into balloon driver
The balloon driver is applie...
2015 Jul 07
12
[RFCv3 0/5] enable migration of driver pages
...ctive.
They are activated by its own interface, /sys, so they are not cooperative
with kernel compaction. If there is too much fragmentation and kernel starts
to compaction, zram and GPU driver cannot work with the kernel compaction.
This patch set combines 5 patches.
1. patch 1/5: get inode from anon_inodes
This patch adds new interface to create inode from anon_inodes.
2. patch 2/5: framework to isolate/migrate/putback page
Add isolatepage, putbackpage into address_space_operations
and wrapper function to call them
3. patch 3/5: apply the framework into balloon driver
The balloon driver is applie...
2024 Oct 02
2
[PATCH v2 0/2] drm/ttm: Add an option to report graphics memory OOM
Some graphics APIs differentiate between out-of-graphics-memory and
out-of-host-memory (system memory). Add a device init flag to
have -ENOSPC propagated from the resource managers instead of being
converted to -ENOMEM, to aid driver stacks in determining what
error code to return or whether corrective action can be taken at
the driver level.
The first patch deals with a ttm_device_init()
2015 Jun 26
8
[RFCv2 0/5] enable migration of driver pages
...- check hundreds MB of pages are migrated
Next kernel compaction code can call generic migration callbacks instead of
balloon driver interface.
Finally calling migration of balloon driver is removed.
This patch-set is based on v4.1
Gioh Kim (5):
mm/compaction: enable driver page migration
fs/anon_inode: get a new inode
mm/balloon: apply driver page migratable into balloon driver
mm/compaction: compaction calls generic migration
mm: remove direct calling of migration
drivers/virtio/virtio_balloon.c | 4 ++++
fs/anon_inodes.c | 6 ++++++
fs/proc/page.c...
2015 Jun 26
8
[RFCv2 0/5] enable migration of driver pages
...- check hundreds MB of pages are migrated
Next kernel compaction code can call generic migration callbacks instead of
balloon driver interface.
Finally calling migration of balloon driver is removed.
This patch-set is based on v4.1
Gioh Kim (5):
mm/compaction: enable driver page migration
fs/anon_inode: get a new inode
mm/balloon: apply driver page migratable into balloon driver
mm/compaction: compaction calls generic migration
mm: remove direct calling of migration
drivers/virtio/virtio_balloon.c | 4 ++++
fs/anon_inodes.c | 6 ++++++
fs/proc/page.c...
2018 Feb 14
2
[PATCH 4/4] vfio: Allow type-1 IOMMU instantiation with a virtio-iommu
...menuconfig VFIO
> tristate "VFIO Non-Privileged userspace driver framework"
> depends on IOMMU_API
> - select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
> + select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3 || VIRTIO_IOMMU)
> select ANON_INODES
> help
> VFIO provides a framework for secure userspace device drivers.
Why are we basing this on specific IOMMU drivers in the first place?
Only ARM is doing that. Shouldn't IOMMU_API only be enabled for ARM
targets that support it and therefore we can forget about the specific...
2018 Feb 14
2
[PATCH 4/4] vfio: Allow type-1 IOMMU instantiation with a virtio-iommu
...menuconfig VFIO
> tristate "VFIO Non-Privileged userspace driver framework"
> depends on IOMMU_API
> - select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
> + select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3 || VIRTIO_IOMMU)
> select ANON_INODES
> help
> VFIO provides a framework for secure userspace device drivers.
Why are we basing this on specific IOMMU drivers in the first place?
Only ARM is doing that. Shouldn't IOMMU_API only be enabled for ARM
targets that support it and therefore we can forget about the specific...