search for: derefernc

Displaying 6 results from an estimated 6 matches for "derefernc".

Did you mean: derefernce
2004 Oct 25
1
chicken/egg between pipefs and initramfs/hotplug
...linux/init/main.c:init() has a chicken/egg problem. Apparently modprobe and other programs need a pipe and pipefs isn't mounted until later on in do_basic_setup()/do_initcalls(). That means that linux/fs/pipe.c:static struct vfsmount *pipe_mnt; isn't initialized and blows up when it's derefernced in linux/fs/pipe.c:get_pipe_inode(). Has this been discussed before? Is there something that userspace can wait on until pipefs is mounted or more of the kernel is initialized? I did some searching and I just can't turn up a previous discussion about this - my apologies if it's already...
2007 Aug 30
3
[Bridge] Re: oops with recent wireless-dev tree
...> static int port_cost(struct net_device *dev) > > { > > if (dev->ethtool_ops->get_settings) { > > ^^^^ > > > > As far as I can figure out, dev->ethtool_ops is NULL and the crash > > happens while trying to derefernce ...->get_settings. > > > > Is dev->ethtool_ops allowed to be NULL? In this case the appended > > patch might be the correct fix. At least it makes the oops disappear > > for me. Another possible fix would be to add an ethtool_ops structure > > to the device...
2015 Jul 10
1
[RFCv3 2/5] mm/compaction: enable mobile-page migration
...ne, int order, > bool alloc_success); > extern bool compaction_restarting(struct zone *zone, int order); > > +static inline bool mobile_page(struct page *page) > +{ > + return page->mapping && page->mapping->a_ops && Dereferncing mapping->a_ops isn't safe without page-lock and isn't required: all mappings always have ->a_ops. > + (PageMobile(page) || PageBalloon(page)); > +} > + > +static inline bool isolate_mobilepage(struct page *page, isolate_mode_t mode) > +{ > + b...
2015 Jul 10
1
[RFCv3 2/5] mm/compaction: enable mobile-page migration
...ne, int order, > bool alloc_success); > extern bool compaction_restarting(struct zone *zone, int order); > > +static inline bool mobile_page(struct page *page) > +{ > + return page->mapping && page->mapping->a_ops && Dereferncing mapping->a_ops isn't safe without page-lock and isn't required: all mappings always have ->a_ops. > + (PageMobile(page) || PageBalloon(page)); > +} > + > +static inline bool isolate_mobilepage(struct page *page, isolate_mode_t mode) > +{ > + b...
2015 Jul 07
12
[RFCv3 0/5] enable migration of driver pages
From: Gioh Kim <gurugio at hanmail.net> Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing and 20~30 memory is reserved for
2015 Jul 07
12
[RFCv3 0/5] enable migration of driver pages
From: Gioh Kim <gurugio at hanmail.net> Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing and 20~30 memory is reserved for